feat(user): add methods to delete submember

This commit is contained in:
Thijmen Maus
2024-02-11 15:25:34 +01:00
parent 2498c5eb9d
commit 304d960567
4 changed files with 66 additions and 38 deletions

View File

@@ -409,6 +409,18 @@ describe('Private WRITE V5 REST API Endpoints', () => {
});
});
it.skip('deleteSubMember()', async () => {
expect(
await api.deleteSubMember({
subMemberId: 1,
}),
).toMatchObject({
// ...successResponseObjectV3(),
// retMsg: '',
retCode: API_ERROR_CODE.SUB_USER_NOT_FOUND,
});
});
it('setSubUIDFrozenState()', async () => {
expect(await api.setSubUIDFrozenState(0, 1)).toMatchObject({
// ...successResponseObjectV3(),