Add mint by index and some ToDo Tests

This commit is contained in:
David E. Perez Negron R. 2023-12-27 20:05:41 -06:00
parent 2e561f6f3c
commit 1dc6fea591
1 changed files with 12 additions and 9 deletions

View File

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