From 0b8b386dc8a7d9fc97f09e0d084e691a07ac3297 Mon Sep 17 00:00:00 2001 From: ametel01 Date: Sun, 21 Jan 2024 06:03:13 +0800 Subject: [PATCH] fix failing CI on main branch --- flex_marketplace/tests/marketplace_test.cairo | 1 + flex_marketplace/tests/utils.cairo | 1 + 2 files changed, 2 insertions(+) diff --git a/flex_marketplace/tests/marketplace_test.cairo b/flex_marketplace/tests/marketplace_test.cairo index 6323029..89702a6 100644 --- a/flex_marketplace/tests/marketplace_test.cairo +++ b/flex_marketplace/tests/marketplace_test.cairo @@ -204,6 +204,7 @@ fn test_execute_auction_sale_success() { maker_bid.strategy = mocks.strategy; maker_bid.price = 1_000_000; maker_bid.amount = 1; + maker_bid.currency = mocks.erc20; start_prank(CheatTarget::One(dsp.marketplace.contract_address), RELAYER()); dsp.marketplace.execute_auction_sale(maker_ask, array![r1, s1], maker_bid, array![r2, s2]); diff --git a/flex_marketplace/tests/utils.cairo b/flex_marketplace/tests/utils.cairo index 10ea954..eee6c94 100644 --- a/flex_marketplace/tests/utils.cairo +++ b/flex_marketplace/tests/utils.cairo @@ -204,6 +204,7 @@ fn initialize_test(dsp: Dispatchers) -> Mocks { IERC20Dispatcher { contract_address: erc20 }.transfer(account, (1000 * E18).into()); dsp.execution_manager.add_strategy(strategy); + dsp.currency_manager.add_currency(erc20); dsp .transfer_selector