forked from Hostea/dashboard
fix: enable password/confirm password mismatch test
parent
c9456667f7
commit
87039a043b
|
@ -101,8 +101,8 @@ class RegistrationTest(TestCase):
|
||||||
"email": "register_user@example.com",
|
"email": "register_user@example.com",
|
||||||
"confirm_password": "foo@example.com",
|
"confirm_password": "foo@example.com",
|
||||||
}
|
}
|
||||||
# resp = c.post(reverse("accounts.register"), msg)
|
resp = c.post(reverse("accounts.register"), msg)
|
||||||
# self.assertEqual(resp.status_code, 400)
|
self.assertEqual(resp.status_code, 400)
|
||||||
|
|
||||||
# register user
|
# register user
|
||||||
msg["confirm_password"] = msg["password"]
|
msg["confirm_password"] = msg["password"]
|
||||||
|
|
Loading…
Reference in New Issue