Skip to content

Commit bda9fd5

Browse files
committed
fix tests
1 parent aa56d1e commit bda9fd5

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

test/flow/SwapBatch.test.js

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -231,7 +231,7 @@ describe("Batch Swap", () => {
231231
await erc20Token4.connect(user3).createFixedRate(
232232
fixedRateExchange.address,
233233
[oceanContract.address, user3.address, marketFeeCollector.address, ZERO_ADDRESS],
234-
[18, 18, rate, marketFee, 0, 0]
234+
[18, 18, rate, marketFee, 1]
235235
// 18,
236236
// rate,
237237
// user3.address,
@@ -257,11 +257,10 @@ describe("Batch Swap", () => {
257257
assert(isActive === true, "Exchange was not activated correctly!");
258258
});
259259

260-
it("#4 - should check that the exchange has no supply yet", async () => {
260+
it("#4 - should check that the exchange has no bt supply yet", async () => {
261261
const exchangeDetails = await fixedRateExchange.getExchange(
262262
eventsExchange[0].args.exchangeId
263263
);
264-
expect(exchangeDetails.dtSupply).to.equal(0);
265264
expect(exchangeDetails.btSupply).to.equal(0);
266265
});
267266

0 commit comments

Comments
 (0)