billing - test stability - sync required after test data cleanup
MODIFY
test/api/BillingStripeTestData.ts
test/api/BillingStripeTestData.ts
@@ -67,9 +67,7 @@ export default class StripeIntegrationTestData {
// The tests requires some settings to be forced
await this.setBillingSystemValidCredentials(immediateBilling);
this.billingUser = await this.billingImpl.getUser(this.dynamicUser);
- if (!this.billingUser && !FeatureToggles.isFeatureActive(Feature.BILLING_SYNC_USER)) {
this.billingUser = await this.billingImpl.forceSynchronizeUser(this.dynamicUser);
- }
assert(this.billingUser, 'Billing user should not be null');
}

billing - test stability - sync required after test data cleanup