Skip to content
Snippets Groups Projects
Commit 7f9f2d27 authored by Hugo Trentesaux's avatar Hugo Trentesaux
Browse files

HUM

parent 9e3659a2
No related branches found
No related tags found
No related merge requests found
Pipeline #34158 waiting for manual action
......@@ -1118,3 +1118,17 @@ fn test_oneshot_accounts() {
);
});
}
/// test balance transfer
#[test]
fn test_simple_transfer() {
ExtBuilder::new(1, 3, 4).build().execute_with(|| {
run_to_block(1);
// Alice transfer money to Dave so that he has an account
assert_ok!(Balances::transfer_allow_death(
frame_system::RawOrigin::Signed(AccountKeyring::Alice.to_account_id()).into(),
AccountKeyring::Dave.to_account_id().into(),
500
));
})
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment