From 9f49aed230d1963638bdeb1c593a1b5488c81907 Mon Sep 17 00:00:00 2001 From: Mark Moffat Date: Sat, 15 Jun 2019 11:27:12 +0930 Subject: [PATCH] Fixed test --- test/test.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/test.js b/test/test.js index 9602829..8905c1c 100644 --- a/test/test.js +++ b/test/test.js @@ -252,7 +252,7 @@ test.serial('[Success] Get orders', async t => { .expect(200); // Check the returned order length - t.deepEqual(orders.length, res.body.orders.length); + t.deepEqual(jsonData.orders.length, res.body.orders.length); }); test.serial('[Fail] Try get orderes with a bogus apiKey', async t => {