From d9958d493aa81be6db5a3e24b4cb3ff81c1b598e Mon Sep 17 00:00:00 2001 From: Eric Mastro Date: Thu, 24 Nov 2022 22:13:06 +1100 Subject: [PATCH] remove tests that check cancelled slots and requests were filtered --- test/Marketplace.test.js | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/test/Marketplace.test.js b/test/Marketplace.test.js index a9af23b..a41f75d 100644 --- a/test/Marketplace.test.js +++ b/test/Marketplace.test.js @@ -705,12 +705,6 @@ describe("Marketplace", function () { expect(await marketplace.myRequests()).to.deep.equal([requestId(request)]) }) - it("removes request from list when cancelled", async function () { - await marketplace.requestStorage(request) - await waitUntilCancelled(request) - expect(await marketplace.myRequests()).to.deep.equal([]) - }) - it("removes request from list when funds are withdrawn", async function () { await marketplace.requestStorage(request) await waitUntilCancelled(request) @@ -766,14 +760,6 @@ describe("Marketplace", function () { expect(await marketplace.mySlots()).to.deep.equal([slotId(slot1)]) }) - it("returns no slots when cancelled", async function () { - await marketplace.fillSlot(slot.request, slot.index, proof) - let slot1 = { ...slot, index: slot.index + 1 } - await marketplace.fillSlot(slot.request, slot1.index, proof) - await waitUntilCancelled(request) - expect(await marketplace.mySlots()).to.deep.equal([]) - }) - it("removes active slots for all hosts in a request when it fails", async function () { let halfOfSlots = request.ask.slots / 2