File tree Expand file tree Collapse file tree 1 file changed +5
-6
lines changed Expand file tree Collapse file tree 1 file changed +5
-6
lines changed Original file line number Diff line number Diff line change @@ -9,21 +9,20 @@ contract NFTExampleTest is Test {
9
9
// https://hashscan.io/mainnet/token/0.0.4970613
10
10
address NFT_mainnet = 0x00000000000000000000000000000000004bd875 ;
11
11
12
- address private user1 ;
12
+ address private user ;
13
13
14
14
function setUp () external {
15
15
htsSetup ();
16
16
17
- user1 = makeAddr ("user1 " );
18
- deal (NFT_mainnet, user1 , 3 );
17
+ user = makeAddr ("user " );
18
+ deal (NFT_mainnet, user , 3 );
19
19
}
20
20
21
21
function test_get_owner_of_existing_account () view external {
22
- // Owner of nft 2 is currently nftHolder
23
- assertNotEq (IERC721 (NFT_mainnet).ownerOf (2 ), address (0 ));
22
+ assertNotEq (IERC721 (NFT_mainnet).ownerOf (1 ), address (0 ));
24
23
}
25
24
26
25
function test_dealt_nft_assigned_to_local_account () view external {
27
- assertEq (IERC721 (NFT_mainnet).ownerOf (3 ), user1 );
26
+ assertEq (IERC721 (NFT_mainnet).ownerOf (3 ), user );
28
27
}
29
28
}
You can’t perform that action at this time.
0 commit comments