Skip to content

Commit

Permalink
test case for opeartor with balance
Browse files Browse the repository at this point in the history
  • Loading branch information
NehharShah committed Jan 30, 2025
1 parent dac0f46 commit 8d35776
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions tests/lib.cairo
Original file line number Diff line number Diff line change
Expand Up @@ -826,12 +826,6 @@ fn test_check_owner_operator_with_empty_destinations() {

start_cheat_caller_address(tokenized_bond.contract_address, minter);
assert(!tokenized_bond.check_owner_and_operator(transfers), 'fail for empty destinations');

start_cheat_caller_address(tokenized_bond.contract_address, NOT_MINTER());
assert(
!tokenized_bond.check_owner_and_operator(transfers.clone()),
'Should fail as non-operator' // TODO: fix this test by adding non-owner
);
}

#[test]
Expand Down

0 comments on commit 8d35776

Please sign in to comment.