fix: enable password/confirm password mismatch test

master
Aravinth Manivannan 2022-06-11 17:59:47 +05:30
parent c9456667f7
commit 87039a043b
Signed by untrusted user: realaravinth
GPG Key ID: AD9F0F08E855ED88
1 changed files with 2 additions and 2 deletions

View File

@ -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"]