mirror of
https://github.com/logos-storage/logos-storage-contracts-eth.git
synced 2026-01-16 20:23:13 +00:00
remove tests that check cancelled slots and requests were filtered
This commit is contained in:
parent
0dd02ef31a
commit
d9958d493a
@ -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
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user