Adding additional changes
MODIFY
test/api/client/AssetApi.ts
test/api/client/AssetApi.ts
import Asset from '../../../src/types/Asset';
import AuthenticatedBaseApi from './utils/AuthenticatedBaseApi';
-import Consumption from '../../../src/types/Consumption';
import CrudApi from './utils/CrudApi';
import { ServerRoute } from '../../../src/types/Server';
import TestConstants from './utils/TestConstants';
@@ -42,9 +41,8 @@ export default class AssetApi extends CrudApi {
return super.read(id, this.buildRestEndpointUrl(ServerRoute.REST_ASSET_RETRIEVE_CONSUMPTION, { id }));
}
-
- public async createConsumption(data: Consumption): Promise<any> {
- return super.create(data, this.buildRestEndpointUrl(ServerRoute.REST_ASSET_CONSUMPTIONS));
- }
+ // public async createConsumption(data: Consumption): Promise<any> {
+ // return super.create(data, this.buildRestEndpointUrl(ServerRoute.REST_ASSET_CONSUMPTIONS));
+ // }
}

Adding additional changes