bp - test - minor change
MODIFY
test/api/BillingPlatformTest.ts
test/api/BillingPlatformTest.ts
@@ -326,7 +326,7 @@ describeif(isBillingProperlyConfigured)('Billing Platform (utbillingplatform)',
it('should not be able to create a account', async () => {
const response = await billingTestHelper.getCurrentUserService().billingApi.createBillingAccount({
businessOwnerID: billingTestHelper.getCurrentUserContext().id,
- companyName: 'utbilling'
+ companyName: 'UT-Account-' + new Date().toISOString()
});
expect(response.status).to.be.eq(StatusCodes.FORBIDDEN);
});

MODIFY
test/api/BillingTestHelper.ts
test/api/BillingTestHelper.ts
@@ -889,7 +889,7 @@ export default class BillingTestHelper {
const taxRate = StripeTaxHelper.fetchOrCreateTaxRate(this.billingImpl, 5 /* 5% */);
let response = await this.getCurrentUserService().billingApi.createBillingAccount({
businessOwnerID: this.getCurrentUserContext().id,
- companyName: 'utbillingdemo',
+ companyName: 'UT-Account-' + new Date().toISOString(),
taxID: (await taxRate).id
});
if (response.status !== StatusCodes.OK) {

bp - test - minor change