Skip to content

The open alternative to Salesforce, designed for AI.

test(billing): add assertion for `end_date` in billing subscription s… (#15341)

Antoine Moreaux2fdd15e1d933
diff --git a/packages/twenty-server/src/engine/core-modules/billing/services/billing-subscription.service.spec.ts b/packages/twenty-server/src/engine/core-modules/billing/services/billing-subscription.service.spec.ts
index 364bcf327a0..76ac119cd6a 100644
--- a/packages/twenty-server/src/engine/core-modules/billing/services/billing-subscription.service.spec.ts
+++ b/packages/twenty-server/src/engine/core-modules/billing/services/billing-subscription.service.spec.ts
@@ -2342,6 +2342,7 @@ describe('BillingSubscriptionService', () => {
'scheduleId',
expect.objectContaining({
currentPhaseSnapshot: {
+ end_date: expect.any(Number),
items: [
{ price: LICENSE_PRICE_ENTERPRISE_MONTH_ID, quantity: 7 },
{ price: METER_PRICE_ENTERPRISE_MONTH_TIER_HIGH_ID },