Skip to content

Commit

Permalink
Refactor: update order creation tests to use Alice's address instead …
Browse files Browse the repository at this point in the history
…of sender's address
  • Loading branch information
OnahProsperity committed Sep 27, 2024
1 parent 0ddab77 commit f9a5167
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion test/gateway/gateway.createorder.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ describe("Gateway create order", function () {
)
.to.emit(this.gateway, Events.Gateway.OrderCreated)
.withArgs(
this.sender.address,
this.alice.address,
this.mockUSDT.address,
BigNumber.from(this.orderAmount),
this.protocolFee,
Expand Down
4 changes: 2 additions & 2 deletions test/gateway/gateway.settleOrder.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ describe("Gateway settle order", function () {
)
.to.emit(gateway, Events.Gateway.OrderCreated)
.withArgs(
this.sender.address,
this.alice.address,
mockUSDT.address,
this.orderAmount,
this.protocolFee,
Expand Down Expand Up @@ -261,7 +261,7 @@ describe("Gateway settle order", function () {
)
.to.emit(gateway, Events.Gateway.OrderCreated)
.withArgs(
this.sender.address,
this.alice.address,
mockUSDT.address,
this.orderAmount,
this.protocolFee,
Expand Down

0 comments on commit f9a5167

Please sign in to comment.