Clean up EULA not accepted
MODIFY
src/types/Transaction.ts
src/types/Transaction.ts
@@ -46,8 +46,6 @@ export enum StartTransactionErrorCode {
BILLING_NO_TAX = 'billing_no_tax', // start transaction is not possible - the tax ID is not set or inconsistent
BILLING_NO_SETTINGS = 'billing_no_settings', // start transaction not possible - billing settings are not set (or partially set)
BILLING_INCONSISTENT_SETTINGS = 'billing_inconsistent_settings', // start transaction not possible - billing settings are inconsistent
- // EULA not accepted : should never be possible with remote start from the app - to be checked if needed in frontend
- EULA_NOT_ACCEPTED = 'eula_not_accepted', // start transaction not possible - user has never accepted the eula (use case : user import + user has never log into the app)
}
export default interface Transaction extends AbstractCurrentConsumption {

MODIFY
test/api/UserTest.ts
test/api/UserTest.ts
@@ -279,7 +279,6 @@ describe('User', function() {
expect(response.data.tag.visualID).to.be.eq(testData.newTag.visualID);
expect(response.data.car).to.be.undefined;
expect(response.data.errorCodes).to.be.not.null;
- expect(response.data.errorCodes[0]).to.be.eq(StartTransactionErrorCode.EULA_NOT_ACCEPTED);
});
it('Should be able to delete the created user', async () => {

Clean up EULA not accepted