Skip to content
Snippets Groups Projects
Commit 0078eb8f authored by ynerant's avatar ynerant
Browse files

Index page is a redirection

parent e5e758f9
No related branches found
No related tags found
1 merge request!133Various fixes
......@@ -41,7 +41,7 @@ class TemplateLoggedInTests(TestCase):
password="adminadmin",
permission_mask=3,
))
self.assertRedirects(response, settings.LOGIN_REDIRECT_URL, 302, 200)
self.assertRedirects(response, settings.LOGIN_REDIRECT_URL, 302, 302)
def test_logout(self):
response = self.client.get(reverse("logout"))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment