Skip to content

Commit

Permalink
fix test due to RBAC
Browse files Browse the repository at this point in the history
  • Loading branch information
julienbrs committed Aug 19, 2024
1 parent e1819e2 commit 1b3b906
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tests/test_merkle_tree.cairo
Original file line number Diff line number Diff line change
Expand Up @@ -335,7 +335,10 @@ fn test_john_claims_multiple_allocations() {
assert!(contract.check_claimed(john_address, timestamp2, amount2));
assert!(!contract.check_claimed(john_address, timestamp3, amount3));

start_cheat_caller_address(offsetter_address, owner_address);
contract.set_merkle_root(new_root);

start_cheat_caller_address(offsetter_address, john_address);
contract.claim(amount4, timestamp4, proof4);
assert!(contract.check_claimed(john_address, timestamp4, amount4));
assert!(!contract.check_claimed(john_address, timestamp3, amount3));
Expand Down

0 comments on commit 1b3b906

Please sign in to comment.