From c6a2849d35780bc03ba1d196c28a4bf8ab4f71e4 Mon Sep 17 00:00:00 2001 From: bleizi Date: Wed, 30 Aug 2023 16:16:29 +0200 Subject: [PATCH] test --- apps/wei/tests/test_wei_registration.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/wei/tests/test_wei_registration.py b/apps/wei/tests/test_wei_registration.py index 3db423b9..86dd4cfd 100644 --- a/apps/wei/tests/test_wei_registration.py +++ b/apps/wei/tests/test_wei_registration.py @@ -647,7 +647,7 @@ class TestWEIRegistration(TestCase): first_name="admin", bank="Société générale", )) - self.assertRedirects(response, reverse("wei:wei_detail", kwargs=dict(pk=self.registration.wei.pk)), 302, 200) + self.assertRedirects(response, reverse("wei:wei_registrations", kwargs=dict(pk=self.registration.wei.pk)), 302, 200) # Check if the membership is successfully created membership = WEIMembership.objects.filter(user_id=self.user.id, club=self.wei) self.assertTrue(membership.exists())