From efaa3f6d1d6b425cb9faa1a4d113d9272909cf7e Mon Sep 17 00:00:00 2001 From: alexcos20 Date: Tue, 20 Oct 2020 06:16:15 -0700 Subject: [PATCH] fix tests --- test/integration/Marketplaceflow.test.ts | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/test/integration/Marketplaceflow.test.ts b/test/integration/Marketplaceflow.test.ts index bef949b7..a3ccfd91 100644 --- a/test/integration/Marketplaceflow.test.ts +++ b/test/integration/Marketplaceflow.test.ts @@ -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) + }) })