update integration test responses
This commit is contained in:
@@ -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.')
|
||||||
);
|
);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
@@ -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());
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user