diff --git a/tests/views/test_support_urls.py b/tests/views/test_support_urls.py index 03095c8f..a2fc1144 100644 --- a/tests/views/test_support_urls.py +++ b/tests/views/test_support_urls.py @@ -9,14 +9,14 @@ def test_support_url_access(client): url = reverse("users") # Check anonymous user response = client.get(url) - assert response.status_code == 302 + assert response.status_code == 404 assert response.url == "/" # redirect to home # Check normal non-staff user can't access user = factories.UserFactory() client.force_login(user) response = client.get(url) - assert response.status_code == 302 + assert response.status_code == 404 assert response.url == "/" # Check staff user can access