Skip to content

Commit

Permalink
Minor cleanup in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
tomaszslabon committed Aug 24, 2021
1 parent a124909 commit b46573b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
5 changes: 1 addition & 4 deletions test/Auction.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -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)
})

Expand Down
2 changes: 1 addition & 1 deletion test/system/liquidation.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
})

Expand Down

0 comments on commit b46573b

Please sign in to comment.