Skip to content

Commit

Permalink
Fix transfer tests
Browse files Browse the repository at this point in the history
  • Loading branch information
aon committed Sep 20, 2023
1 parent 7a78cfe commit 2de921f
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions test-cases/transfer/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -49,9 +49,8 @@ mod transfer {
contract.transfer(100);

// Then
let callee_balance =
get_account_balance::<DefaultEnvironment>(AccountId::from([0x34; 32]))
.expect("Cannot get account balance");
let callee_balance = get_account_balance::<DefaultEnvironment>(callee_account_id)
.expect("Cannot get account balance");
let caller_balance = get_account_balance::<DefaultEnvironment>(caller_account_id)
.expect("Cannot get account balance");
assert_eq!(callee_balance, 900);
Expand Down

0 comments on commit 2de921f

Please sign in to comment.