Skip to content

Commit

Permalink
fixes the failing tests
Browse files Browse the repository at this point in the history
  • Loading branch information
gangov committed Sep 13, 2024
1 parent 658955b commit d8b32b9
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
2 changes: 1 addition & 1 deletion contracts/auctions/src/test/bids.rs
Original file line number Diff line number Diff line change
Expand Up @@ -285,7 +285,7 @@ fn buy_now() {
None,
);

collections_client.mint(&seller, &seller, &1, &1);
collections_client.mint(&seller, &seller, &1, &5);

collections_client.set_approval_for_transfer(&mp_client.address, &1u64, &true);

Expand Down
7 changes: 6 additions & 1 deletion contracts/auctions/src/test/finalize_auction.rs
Original file line number Diff line number Diff line change
Expand Up @@ -265,7 +265,12 @@ fn get_active_auctions_should_list_correct_number_of_active_auctions() {
None,
);

nft_collection_client.mint_batch(&seller, &seller, &vec![&env, 1, 2, 3], &vec![&env, 1, 1, 1]);
nft_collection_client.mint_batch(
&seller,
&seller,
&vec![&env, 1, 2, 3],
&vec![&env, 10, 20, 15],
);

let first_item = ItemInfo {
collection_addr: nft_collection_client.address.clone(),
Expand Down

0 comments on commit d8b32b9

Please sign in to comment.