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

@@ -247,7 +247,7 @@ describe('Private WRITE V5 REST API Endpoints', () => {
).toMatchObject({
// ...successResponseObjectV3(),
// retMsg: '',
retCode: API_ERROR_CODE.V5_RISK_ID_NOT_CHANGED,
retCode: API_ERROR_CODE.V5_RISK_ID_NOT_MODIFIED,
});
});
@@ -338,6 +338,7 @@ describe('Private WRITE V5 REST API Endpoints', () => {
it('enableUniversalTransferForSubUIDs()', async () => {
expect(await api.enableUniversalTransferForSubUIDs([])).toMatchObject({
...successResponseObjectV3(),
retCode: API_ERROR_CODE.INCORRECT_API_KEY_PERMISSIONS,
});
});
@@ -385,7 +386,8 @@ describe('Private WRITE V5 REST API Endpoints', () => {
});
describe('User APIs', () => {
it('createSubMember()', async () => {
// Not available on sub account
it.skip('createSubMember()', async () => {
expect(
await api.createSubMember({
memberType: 1,