chore(): fix changed test error code

This commit is contained in:
tiagosiebler
2022-10-12 23:49:24 +01:00
parent 6296bc50a2
commit b304527b2d
2 changed files with 4 additions and 1 deletions

View File

@@ -73,7 +73,9 @@ describe('Private Spot REST API POST Endpoints', () => {
it('repayCrossMarginLoan()', async () => {
expect(await api.repayCrossMarginLoan('USDT', '1')).toMatchObject({
retCode: API_ERROR_CODE.CROSS_MARGIN_REPAYMENT_NOT_REQUIRED,
retCode: API_ERROR_CODE.UNKNOWN_ERROR,
// previously:
// retCode: API_ERROR_CODE.CROSS_MARGIN_REPAYMENT_NOT_REQUIRED,
});
});
});