Skip to content

Commit 458facc

Browse files
committed
Fix tests
1 parent 04c3b7e commit 458facc

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

backend/src/services/__tests__/tenantService.test.ts

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -166,15 +166,14 @@ describe('TenantService tests', () => {
166166

167167
tenantCreatedPlain.createdAt = tenantCreatedPlain.createdAt.toISOString().split('T')[0]
168168
tenantCreatedPlain.updatedAt = tenantCreatedPlain.updatedAt.toISOString().split('T')[0]
169-
tenantCreatedPlain.trialEndsAt = tenantCreatedPlain.trialEndsAt.toISOString().split('T')[0]
170169

171170
const tenantExpected = {
172171
id: tenantCreatedPlain.id,
173172
name: 'testName',
174173
url: 'testUrl',
175-
plan: Plans.values.growth,
176-
isTrialPlan: true,
177-
trialEndsAt: moment().add(14, 'days').toISOString().split('T')[0],
174+
plan: Plans.values.essential,
175+
isTrialPlan: false,
176+
trialEndsAt: null,
178177
onboardedAt: null,
179178
integrationsRequired: ['github', 'discord'],
180179
hasSampleData: false,

0 commit comments

Comments
 (0)