Skip to content

Commit

Permalink
✅ Test fix
Browse files Browse the repository at this point in the history
  • Loading branch information
transmissions11 committed Mar 31, 2022
1 parent e7deddf commit 7caaeb5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/test/ERC721.t.sol
Original file line number Diff line number Diff line change
Expand Up @@ -407,10 +407,10 @@ contract ERC721Test is DSTestPlus {
}

function testTransferFrom(uint256 id, address to) public {
if (to == address(0) || to == address(this)) to = address(0xBEEF);

ERC721User from = new ERC721User(token);

if (to == address(0) || to == address(from)) to = address(0xBEEF);

token.mint(address(from), id);

from.approve(address(this), id);
Expand Down

0 comments on commit 7caaeb5

Please sign in to comment.