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
|
// @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
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue