Skip to content

Commit e11964f

Browse files
committed
fix tests
1 parent 4bdd052 commit e11964f

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

packages/core/src/services/billing/handleSubscriptionUpdate.test.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,7 @@ describe('handleSubscriptionUpdate', () => {
6868

6969
const { workspace, user } = await createProject({
7070
name: 'Test Workspace',
71+
workspace: { subscriptionPlan: SubscriptionPlan.HobbyV2 },
7172
})
7273
testWorkspace = workspace
7374
testUser = user

packages/core/src/services/workspaces/create.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ describe('createWorkspace', () => {
3737
r.unwrap(),
3838
)
3939
expect(workspace.currentSubscription).toEqual(
40-
expect.objectContaining({ plan: 'hobby_v2' }),
40+
expect.objectContaining({ plan: 'hobby_v3' }),
4141
)
4242
expect(
4343
await computeQuota({

0 commit comments

Comments
 (0)