develop #1
|
@ -20,16 +20,19 @@ contract AATest is Test {
|
||||||
// @notice this code safe mints an NFT to address 0x1
|
// @notice this code safe mints an NFT to address 0x1
|
||||||
function testMint() public {
|
function testMint() public {
|
||||||
address to = address(0x1);
|
address to = address(0x1);
|
||||||
aaContract._mint(to,nfts[0]);
|
aaContract.mintNFT(to, 0);
|
||||||
console.log("hola");
|
address dco2scAddress = address(aaContract.dco2sc());
|
||||||
|
console.log("{}",dco2scAddress);
|
||||||
//assertEq(aaContract.ownerOf(0), to, "Token should be minted to specified address.");
|
//assertEq(aaContract.ownerOf(0), to, "Token should be minted to specified address.");
|
||||||
}
|
}
|
||||||
|
|
||||||
// @notice: here we test getting the Base and full URIS
|
// Test mint all NFTs but -20
|
||||||
//function testGetURI68() public {
|
|
||||||
// aaContract._mint(address(0x1), nfts[68]);
|
// Test Invite Eligible
|
||||||
// string memory tokenURI = aaContract.tokenURI(0);
|
|
||||||
// console.log(tokenURI);
|
// test Check If Eligible
|
||||||
// assertEq(tokenURI, string.concat(baseURI, nfts[68]));
|
|
||||||
//}
|
// Test Airdrop
|
||||||
|
|
||||||
|
// Test Others
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue