remove unused test api
MODIFY
test/api/TagTest.ts
test/api/TagTest.ts
@@ -229,7 +229,7 @@ describe('Tag', function() {
expect(response.status).to.equal(StatusCodes.CREATED);
testData.createdTags.push(testData.newTag);
// Retrieve it
- response = await testData.userService.tagApi.getDefaultTagCar(testData.newUser.id);
+ response = await testData.userService.userApi.getDefaultTagCar(testData.newUser.id);
expect(response.status).to.be.eq(StatusCodes.OK);
expect(response.data.tag.visualID).to.be.eq(testData.newTag.visualID);
expect(response.data.car).to.be.undefined;

MODIFY
test/api/client/TagApi.ts
test/api/client/TagApi.ts
@@ -47,9 +47,4 @@ export default class TagApi extends CrudApi {
public async exportTags(params) {
return await super.read(params, this.buildRestEndpointUrl(ServerRoute.REST_TAGS_EXPORT));
}
-
- public async getDefaultTagCar(userID: string) {
- const url = this.buildRestEndpointUrl(ServerRoute.REST_USER_DEFAULT_TAG_CAR, {});
- return await super.read({ UserID: userID }, url);
- }
}

remove unused test api