Skip to content

Commit

Permalink
test(world-modules): fix failing flaky erc721 test (#2139)
Browse files Browse the repository at this point in the history
  • Loading branch information
yonadaa authored Jan 16, 2024
1 parent 57d8965 commit de2dece
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/world-modules/test/ERC721.t.sol
Original file line number Diff line number Diff line change
Expand Up @@ -194,8 +194,8 @@ contract ERC721Test is Test, GasReporter, IERC721Events, IERC721Errors {
token.ownerOf(id);
}

function testBurnRevertAccessDenined(uint256 id, address owner, address operator) public {
_assumeDifferentNonZero(owner, operator);
function testBurnRevertAccessDenied(uint256 id, address owner, address operator) public {
_assumeDifferentNonZero(owner, operator, address(this));

_expectMintEvent(owner, id);
token.mint(owner, id);
Expand Down

0 comments on commit de2dece

Please sign in to comment.