Stripe checkout #104411

Merged
Anna Sirota merged 61 commits from stripe into main 2024-06-17 18:08:41 +02:00
Showing only changes of commit eca5de0a3e - Show all commits

View File

@ -174,7 +174,7 @@ class TestCharacterVersionDownload(TestCase):
def test_can_download_non_free_when_subscribed(self):
user = UserFactory()
SubscriptionFactory(user=user, status='active')
SubscriptionFactory(customer=user.customer, status='active')
character_version = CharacterVersionFactory(is_free=False)
self.client.force_login(user)
@ -222,7 +222,7 @@ class TestCharacterShowcaseDownload(TestCase):
def test_can_download_non_free_when_subscribed(self):
user = UserFactory()
SubscriptionFactory(user=user, status='active')
SubscriptionFactory(customer=user.customer, status='active')
character_showcase = CharacterShowcaseFactory(is_free=False)
self.client.force_login(user)