fix(#155): remove abandoned endpoints

This commit is contained in:
tiagosiebler
2022-06-30 16:32:56 +01:00
parent c518a85524
commit dac46b64fb
6 changed files with 0 additions and 69 deletions

View File

@@ -79,12 +79,6 @@ describe('Public Inverse-Futures REST API GET Endpoints', () => {
);
});
it('getRiskLimitList()', async () => {
expect(await api.getRiskLimitList()).toMatchObject(
successResponseList('ok')
);
});
it('getMyLastFundingFee()', async () => {
expect(await api.getMyLastFundingFee({ symbol: symbol })).toMatchObject(
successResponseObject()

View File

@@ -183,16 +183,4 @@ describe('Private Inverse-Futures REST API POST Endpoints', () => {
ret_msg: 'Isolated not modified',
});
});
it('setRiskLimit()', async () => {
expect(
await api.setRiskLimit({
symbol,
risk_id: 'myriskid',
})
).toMatchObject({
ret_code: -1,
ret_msg: `Currently not support symbol[${symbol}]`,
});
});
});

View File

@@ -77,12 +77,6 @@ describe('Private Inverse REST API Endpoints', () => {
);
});
it('getRiskLimitList()', async () => {
expect(await api.getRiskLimitList()).toMatchObject(
successResponseList('ok')
);
});
it('getClosedPnl()', async () => {
expect(await api.getClosedPnl({ symbol: symbol })).toMatchObject(
successResponseObject()

View File

@@ -178,16 +178,4 @@ describe('Private Inverse REST API Endpoints', () => {
})
).toMatchObject(successResponseObject());
});
it('setRiskLimit()', async () => {
expect(
await api.setRiskLimit({
symbol,
risk_id: 'myriskid',
})
).toMatchObject({
ret_code: API_ERROR_CODE.RISK_LIMIT_NOT_EXISTS,
ret_msg: 'risk limit not exists',
});
});
});