Skip to content

Commit

Permalink
fix order book tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Chralt98 committed Mar 29, 2024
1 parent 0964acc commit 14b3819
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions zrml/orderbook/src/tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -632,7 +632,7 @@ fn it_fills_order_fully_maker_base_asset() {
assert_eq!(reserved_bob, 0);

let external_fee_amount = calculate_fee::<Runtime>(maker_amount);
let external_fee = ExternalFee { account: BOB, amount: external_fee_amount };
let external_fee = ExternalFee { account: ALICE, amount: external_fee_amount };

System::assert_last_event(
Event::<Runtime>::OrderFilled {
Expand Down Expand Up @@ -721,7 +721,7 @@ fn it_fills_order_partially_maker_base_asset() {
}
);

let external_fee = ExternalFee { account: BOB, amount: external_fee_amount };
let external_fee = ExternalFee { account: ALICE, amount: external_fee_amount };

System::assert_last_event(
Event::<Runtime>::OrderFilled {
Expand Down

0 comments on commit 14b3819

Please sign in to comment.