Skip to content

Commit 49da59c

Browse files
fix: update stripe subscription test error message assertions
Co-authored-by: rezwana-karim <126201034+rezwana-karim@users.noreply.github.com>
1 parent 24fbb60 commit 49da59c

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

tests/unit/lib/stripe-subscription.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -521,7 +521,7 @@ describe('Stripe Subscription Integration', () => {
521521
priceId: 'price_basic_monthly',
522522
storeId: 'store-123',
523523
})
524-
).rejects.toThrow('STRIPE_SECRET_KEY is not configured');
524+
).rejects.toThrow('STRIPE_SECRET_KEY is required for Stripe operations');
525525
});
526526

527527
it('should throw error when NEXT_PUBLIC_BASE_URL is missing', async () => {
@@ -532,7 +532,7 @@ describe('Stripe Subscription Integration', () => {
532532
priceId: 'price_basic_monthly',
533533
storeId: 'store-123',
534534
})
535-
).rejects.toThrow('NEXT_PUBLIC_BASE_URL is not configured');
535+
).rejects.toThrow('NEXT_PUBLIC_BASE_URL is required');
536536
});
537537
});
538538
});

0 commit comments

Comments
 (0)