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 // @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.");
} }
// Test mint all NFTs but -20
// @notice: here we test getting the Base and full URIS // Test Invite Eligible
//function testGetURI68() public {
// aaContract._mint(address(0x1), nfts[68]); // test Check If Eligible
// string memory tokenURI = aaContract.tokenURI(0);
// console.log(tokenURI); // Test Airdrop
// assertEq(tokenURI, string.concat(baseURI, nfts[68]));
//} // Test Others
} }