update integration test responses

This commit is contained in:
tiagosiebler
2022-08-18 17:20:40 +01:00
parent c5385957c9
commit 28a115a654
2 changed files with 3 additions and 3 deletions

View File

@@ -24,7 +24,7 @@ describe('Private Spot REST API Endpoints', () => {
it('getOrder()', async () => { it('getOrder()', async () => {
// No auth error == test pass // No auth error == test pass
expect(await api.getOrder({ orderId: '123123' })).toMatchObject( expect(await api.getOrder({ orderId: '123123' })).toMatchObject(
errorResponseObject(null, -2013, 'Order does not exist.') errorResponseObject({}, -2013, 'Order does not exist.')
); );
}); });

View File

@@ -18,7 +18,7 @@ describe('Private Inverse-Futures REST API POST Endpoints', () => {
// These tests are primarily check auth is working by expecting balance or order not found style errors // These tests are primarily check auth is working by expecting balance or order not found style errors
it('submitOrder()', async () => { it.skip('submitOrder()', async () => {
expect( expect(
await api.submitOrder({ await api.submitOrder({
side: 'Buy', side: 'Buy',
@@ -49,6 +49,6 @@ describe('Private Inverse-Futures REST API POST Endpoints', () => {
symbol, symbol,
orderTypes: ['LIMIT', 'LIMIT_MAKER'], orderTypes: ['LIMIT', 'LIMIT_MAKER'],
}) })
).toMatchObject(successResponseObject('')); ).toMatchObject(successResponseObject());
}); });
}); });