Skip to content

Commit

Permalink
check that the collection has been created
Browse files Browse the repository at this point in the history
  • Loading branch information
brunopgalvao committed Apr 26, 2024
1 parent bc2066c commit 662d28e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions runtime/devnet/src/extensions.rs
Original file line number Diff line number Diff line change
Expand Up @@ -530,6 +530,9 @@ mod tests {
log::debug!("result: {:?}", result);
}

// check that the nft collection was created
assert_eq!(Nfts::collection_owner(0), Some(addr.into()));

// // check for revert
assert!(!result.result.unwrap().did_revert(), "Contract reverted!");
});
Expand Down

0 comments on commit 662d28e

Please sign in to comment.