Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
Pin the time so we get deterministic tests
  • Loading branch information
emanuelen5 committed Dec 29, 2024
1 parent 7fb82c4 commit 0ba8cbf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/src/shop/test/subscriptions_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -559,7 +559,7 @@ def test_subscriptions_binding_period(self) -> None:
Checks that a lab subscription is started with a binding period
"""
binding_period = self.access_subscription_product.smallest_multiple
(now, clock, member) = self.setup_single_member()
(now, clock, member) = self.setup_single_member(start_time=datetime(2024, 10, 1, tzinfo=timezone.utc))

stripe_subscriptions.start_subscription(
member,
Expand Down

0 comments on commit 0ba8cbf

Please sign in to comment.