Skip to content

Commit

Permalink
update claim double refund test
Browse files Browse the repository at this point in the history
  • Loading branch information
evelinemolnar committed Oct 9, 2024
1 parent 6b9cb20 commit 0de450c
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions multi-transfer-esdt/tests/multi_transfer_blackbox_test.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1302,6 +1302,13 @@ fn claim_refund_test() {
.returns(ReturnsResult)
.run();
assert!(result3.is_empty());

state
.esdt_raw_transaction()
.claim_refund(TOKEN_ID)
.with_result(ExpectStatus(ERROR))
.returns(ExpectError(ERROR, "Nothing to refund"))
.run();
}

#[test]
Expand Down

0 comments on commit 0de450c

Please sign in to comment.