chore(): update tests for compatibility with new testing sub account

This commit is contained in:
tiagosiebler
2023-05-16 14:48:20 +01:00
parent 065f72472e
commit a5aa7f6cf2
10 changed files with 59 additions and 38 deletions

View File

@@ -185,12 +185,14 @@ describe('Private READ V5 REST API Endpoints', () => {
it('getSubUID()', async () => {
expect(await api.getSubUID()).toMatchObject({
...successResponseObjectV3(),
retCode: API_ERROR_CODE.INCORRECT_API_KEY_PERMISSIONS,
});
});
it('getUniversalTransferRecords()', async () => {
expect(await api.getUniversalTransferRecords()).toMatchObject({
...successResponseObjectV3(),
retCode: API_ERROR_CODE.INCORRECT_API_KEY_PERMISSIONS,
});
});
@@ -216,7 +218,8 @@ describe('Private READ V5 REST API Endpoints', () => {
});
});
it('getMasterDepositAddress()', async () => {
// Not available for sub accounts
it.skip('getMasterDepositAddress()', async () => {
expect(await api.getMasterDepositAddress(settleCoin)).toMatchObject({
...successResponseObjectV3(),
});