diff --git a/lacommunaute/openid_connect/tests/tests_views.py b/lacommunaute/openid_connect/tests/tests_views.py index 63b7fd38e..746f0f795 100644 --- a/lacommunaute/openid_connect/tests/tests_views.py +++ b/lacommunaute/openid_connect/tests/tests_views.py @@ -179,7 +179,7 @@ def test_normal_signin(self): # Then log in again. response = self.client.get(reverse("pages:home")) - self.assertContains(response, reverse("openid_connect:authorize")) + self.assertContains(response, reverse("users:login")) response = mock_oauth_dance(self, assert_redirects=False) expected_redirection = reverse("pages:home") diff --git a/lacommunaute/pages/tests/__snapshots__/test_homepage.ambr b/lacommunaute/pages/tests/__snapshots__/test_homepage.ambr index 37894f351..3d7864583 100644 --- a/lacommunaute/pages/tests/__snapshots__/test_homepage.ambr +++ b/lacommunaute/pages/tests/__snapshots__/test_homepage.ambr @@ -164,11 +164,11 @@ - +