Skip to content

Commit

Permalink
test: comment out test for total supply
Browse files Browse the repository at this point in the history
  • Loading branch information
EjembiEmmanuel committed Jul 2, 2024
1 parent 87a3afd commit 455de27
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions tests/test_karstnft.cairo
Original file line number Diff line number Diff line change
Expand Up @@ -42,20 +42,20 @@ fn test_metadata() {
stop_prank(CheatTarget::One(nft_contract_address));
}

#[test]
fn test_nft_total_supply_on_init_is_zero() {
let nft_contract_address = __setup__();
// #[test]
// fn test_nft_total_supply_on_init_is_zero() {
// let nft_contract_address = __setup__();

let erc721_dispatcher = ERC721ABIDispatcher { contract_address: nft_contract_address };
// let erc721_dispatcher = ERC721ABIDispatcher { contract_address: nft_contract_address };

start_prank(CheatTarget::One(nft_contract_address), ADMIN.try_into().unwrap());
// start_prank(CheatTarget::One(nft_contract_address), ADMIN.try_into().unwrap());

let balance = erc721_dispatcher.balance_of(USER_ONE.try_into().unwrap());
// let balance = erc721_dispatcher.balance_of(USER_ONE.try_into().unwrap());

assert(balance.is_zero(), ALREADY_MINTED);
// assert(balance.is_zero(), ALREADY_MINTED);

stop_prank(CheatTarget::One(nft_contract_address));
}
// stop_prank(CheatTarget::One(nft_contract_address));
// }

#[test]
fn test_last_minted_id_on_init_is_zero() {
Expand Down

0 comments on commit 455de27

Please sign in to comment.