From b46573b1cda5a059ca278aec76c35316d1c6e429 Mon Sep 17 00:00:00 2001 From: Tomasz Slabon Date: Tue, 24 Aug 2021 11:20:35 +0200 Subject: [PATCH] Minor cleanup in tests --- test/Auction.test.js | 5 +---- test/system/liquidation.test.js | 2 +- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/test/Auction.test.js b/test/Auction.test.js index ddf3837b..afa52246 100644 --- a/test/Auction.test.js +++ b/test/Auction.test.js @@ -167,11 +167,8 @@ describe("Auction", () => { await increaseTime(24000) }) - it("should not self destruct", async () => { - expect(await isCodeAt(auction.address)).to.be.true - }) - it("should be opened", async () => { + expect(await isCodeAt(auction.address)).to.be.true expect(await auction.isOpen()).to.be.equal(true) }) diff --git a/test/system/liquidation.test.js b/test/system/liquidation.test.js index 9e832498..7f745dce 100644 --- a/test/system/liquidation.test.js +++ b/test/system/liquidation.test.js @@ -136,7 +136,7 @@ describeFn("System -- liquidation", () => { tx = await auction.takeOffer(lotSize) }) - it("should close auction", async () => { + it("should destroy auction", async () => { expect(await isCodeAt(auction.address)).to.be.false })