1
0
mirror of https://github.com/django/django.git synced 2025-01-03 15:06:09 +00:00

Fixed field name in admin_views.tests.UserAdminTest.test_password_mismatch() assertion.

This commit is contained in:
Baptiste Mispelon 2022-02-14 11:27:26 +01:00 committed by Mariusz Felisiak
parent 7986028e3f
commit 1f749d6f12

View File

@ -6689,7 +6689,7 @@ class UserAdminTest(TestCase):
}, },
) )
self.assertEqual(response.status_code, 200) self.assertEqual(response.status_code, 200)
self.assertFormError(response, "adminform", "password", []) self.assertFormError(response, "adminform", "password1", [])
self.assertFormError( self.assertFormError(
response, response,
"adminform", "adminform",