mirror of
https://github.com/codex-storage/codex-contracts-eth.git
synced 2025-02-17 05:48:04 +00:00
fix test
This commit is contained in:
parent
945c501ce6
commit
974e5470b5
@ -148,9 +148,9 @@ describe("Marketplace", function () {
|
||||
|
||||
it("allows retrieval of request of a filled slot", async function () {
|
||||
await marketplace.fillSlot(slot.request, slot.index, proof)
|
||||
expect(await marketplace.getActiveSlot(slotId(slot))).to.be.request(
|
||||
(request, slot.index)
|
||||
)
|
||||
let activeSlot = await marketplace.getActiveSlot(slotId(slot))
|
||||
expect(activeSlot[0]).to.be.request(request)
|
||||
expect(activeSlot[1]).to.equal(slot.index)
|
||||
})
|
||||
|
||||
it("is rejected when proof is incorrect", async function () {
|
||||
|
Loading…
x
Reference in New Issue
Block a user