diff --git a/runtime/gdev/tests/integration_tests.rs b/runtime/gdev/tests/integration_tests.rs index 012e6a3b67df5ae8c7f19a3e55b307445f35c6f9..8fd57807c38d8e5b8cdfee7774980fa54654ea37 100644 --- a/runtime/gdev/tests/integration_tests.rs +++ b/runtime/gdev/tests/integration_tests.rs @@ -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 + )); + }) +}