From 1f749d6f121fc227fda646eb99ffb259f450b342 Mon Sep 17 00:00:00 2001 From: Baptiste Mispelon Date: Mon, 14 Feb 2022 11:27:26 +0100 Subject: [PATCH] Fixed field name in admin_views.tests.UserAdminTest.test_password_mismatch() assertion. --- tests/admin_views/tests.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/admin_views/tests.py b/tests/admin_views/tests.py index 7df96fa042..6074ac21e3 100644 --- a/tests/admin_views/tests.py +++ b/tests/admin_views/tests.py @@ -6689,7 +6689,7 @@ class UserAdminTest(TestCase): }, ) self.assertEqual(response.status_code, 200) - self.assertFormError(response, "adminform", "password", []) + self.assertFormError(response, "adminform", "password1", []) self.assertFormError( response, "adminform",