From c5385957c90ad0f1d6311ab095f722bd1fa663fe Mon Sep 17 00:00:00 2001 From: tiagosiebler Date: Thu, 18 Aug 2022 17:16:28 +0100 Subject: [PATCH] fix integration tests --- test/spot/private.read.test.ts | 8 ++++---- test/spot/public.test.ts | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/test/spot/private.read.test.ts b/test/spot/private.read.test.ts index 34a6870..ec98202 100644 --- a/test/spot/private.read.test.ts +++ b/test/spot/private.read.test.ts @@ -29,15 +29,15 @@ describe('Private Spot REST API Endpoints', () => { }); it('getOpenOrders()', async () => { - expect(await api.getOpenOrders()).toMatchObject(successResponseList('')); + expect(await api.getOpenOrders()).toMatchObject(successResponseList()); }); it('getPastOrders()', async () => { - expect(await api.getPastOrders()).toMatchObject(successResponseList('')); + expect(await api.getPastOrders()).toMatchObject(successResponseList()); }); it('getMyTrades()', async () => { - expect(await api.getMyTrades()).toMatchObject(successResponseList('')); + expect(await api.getMyTrades()).toMatchObject(successResponseList()); }); it('getBalances()', async () => { @@ -46,7 +46,7 @@ describe('Private Spot REST API Endpoints', () => { balances: expect.any(Array), }, ret_code: 0, - ret_msg: '', + ret_msg: 'OK', }); }); }); diff --git a/test/spot/public.test.ts b/test/spot/public.test.ts index c3c7c76..f0d261c 100644 --- a/test/spot/public.test.ts +++ b/test/spot/public.test.ts @@ -24,7 +24,7 @@ describe('Public Spot REST API Endpoints', () => { }); it('getSymbols()', async () => { - expect(await api.getSymbols()).toMatchObject(successResponseList('')); + expect(await api.getSymbols()).toMatchObject(successResponseList()); }); it('getOrderBook()', async () => {