mirror of
https://github.com/oceanprotocol/ocean.js.git
synced 2024-11-26 20:39:05 +01:00
fix tests
This commit is contained in:
parent
c1a0345e3e
commit
efaa3f6d1d
@ -252,8 +252,12 @@ describe('Marketplace flow', () => {
|
||||
ddo = await ocean.assets.create(asset, alice, [service1])
|
||||
assert.equal(ddo, null)
|
||||
})
|
||||
it('Alice gets hers order History', async () => {
|
||||
const history = await ocean.assets.getOrderHistory(alice)
|
||||
it('Bob should get his order History', async () => {
|
||||
const history = await ocean.assets.getOrderHistory(bob)
|
||||
assert(history.length > 0)
|
||||
})
|
||||
it('Alice should not get any order History', async () => {
|
||||
const history = await ocean.assets.getOrderHistory(alice)
|
||||
assert(history.length === 0)
|
||||
})
|
||||
})
|
||||
|
Loading…
x
Reference in New Issue
Block a user