Fix unit test.

see #891
This commit is contained in:
Antoine Nguyen
2016-09-08 09:05:22 +02:00
parent abe24d2093
commit 8e45f2c7cb
+1 -1
View File
@@ -41,7 +41,7 @@ class AuthenticationTestCase(ModoTestCase):
data = {"username": "admin", "password": "password"}
response = self.client.post(reverse("core:login"), data)
self.assertEqual(response.status_code, 302)
self.assertTrue(response.url.endswith(reverse("admin:domain_list")))
self.assertTrue(response.url.endswith(reverse("core:dashboard")))
class LDAPTestCaseMixin(object):