This commit is contained in:
Eric Mastro 2023-02-13 17:45:47 +11:00
parent 945c501ce6
commit 974e5470b5
No known key found for this signature in database
GPG Key ID: 141E3048D95A4E63
1 changed files with 3 additions and 3 deletions

View File

@ -148,9 +148,9 @@ describe("Marketplace", function () {
it("allows retrieval of request of a filled slot", async function () { it("allows retrieval of request of a filled slot", async function () {
await marketplace.fillSlot(slot.request, slot.index, proof) await marketplace.fillSlot(slot.request, slot.index, proof)
expect(await marketplace.getActiveSlot(slotId(slot))).to.be.request( let activeSlot = await marketplace.getActiveSlot(slotId(slot))
(request, slot.index) expect(activeSlot[0]).to.be.request(request)
) expect(activeSlot[1]).to.equal(slot.index)
}) })
it("is rejected when proof is incorrect", async function () { it("is rejected when proof is incorrect", async function () {