Verified Commit 6157db6d authored by David Haynes's avatar David Haynes 🙆

Fix views.py tests

- forgot to catch these ones
parent 8a7c8eb4
Pipeline #1961 failed with stages
in 1 minute and 41 seconds
...@@ -50,7 +50,7 @@ class NewLinkTest(TestCase): ...@@ -50,7 +50,7 @@ class NewLinkTest(TestCase):
CAS link, so 302 REDIRECT. CAS link, so 302 REDIRECT.
""" """
response = self.client.get('/newLink') response = self.client.get('/new')
self.assertEqual(response.status_code, 302) self.assertEqual(response.status_code, 302)
class MyLinksTest(TestCase): class MyLinksTest(TestCase):
...@@ -64,7 +64,7 @@ class MyLinksTest(TestCase): ...@@ -64,7 +64,7 @@ class MyLinksTest(TestCase):
CAS link, so 302 REDIRECT. CAS link, so 302 REDIRECT.
""" """
response = self.client.get('/myLinks') response = self.client.get('/my')
self.assertEqual(response.status_code, 302) self.assertEqual(response.status_code, 302)
class PostTest(TestCase): class PostTest(TestCase):
...@@ -219,5 +219,5 @@ class UserAdminTest(TestCase): ...@@ -219,5 +219,5 @@ class UserAdminTest(TestCase):
CAS link, so 302 REDIRECT. CAS link, so 302 REDIRECT.
""" """
response = self.client.get('/useradmin') response = self.client.get('/manage')
self.assertEqual(response.status_code, 302) self.assertEqual(response.status_code, 302)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment