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