Skip to content

Commit

Permalink
Used correct endpoint name in tests
Browse files Browse the repository at this point in the history
Signed-off-by: Andrei Baltariu <[email protected]>
  • Loading branch information
andreiblt1304 committed Nov 13, 2024
1 parent 93663a1 commit 5ea2068
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions fee-market/tests/fee_market_blackbox_test.rs
Original file line number Diff line number Diff line change
Expand Up @@ -133,13 +133,13 @@ impl FeeMarketTestState {
}
}

fn disable_fee(&mut self) {
fn remove_fee(&mut self) {
self.world
.tx()
.from(OWNER_ADDRESS)
.to(FEE_MARKET_ADDRESS)
.typed(fee_market_proxy::FeeMarketProxy)
.disable_fee(TOKEN_ID)
.remove_fee(TOKEN_ID)
.run();
}

Expand Down Expand Up @@ -283,7 +283,7 @@ fn test_substract_fee_no_fee() {
let mut state = FeeMarketTestState::new();

state.deploy_fee_market();
state.disable_fee();
state.remove_fee();

state.substract_fee("Correct", None);

Expand Down

0 comments on commit 5ea2068

Please sign in to comment.