forked from DECA/DECANFT-SC
Add mint by index and some ToDo Tests
This commit is contained in:
parent
2e561f6f3c
commit
1dc6fea591
|
@ -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.");
|
||||
}
|
||||
|
||||
// @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 mint all NFTs but -20
|
||||
|
||||
// Test Invite Eligible
|
||||
|
||||
// test Check If Eligible
|
||||
|
||||
// Test Airdrop
|
||||
|
||||
// Test Others
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue