Chore: include password validation on user edit (#11308)

This commit is contained in:
shamoon
2025-11-07 11:20:27 -08:00
committed by GitHub
parent 808c074f48
commit 2a9d1fce0d
5 changed files with 93 additions and 19 deletions

View File

@@ -648,7 +648,7 @@ class TestApiUser(DirectoriesMixin, APITestCase):
user1 = {
"username": "testuser",
"password": "test",
"password": "areallysupersecretpassword235",
"first_name": "Test",
"last_name": "User",
}
@@ -730,7 +730,7 @@ class TestApiUser(DirectoriesMixin, APITestCase):
f"{self.ENDPOINT}{user1.pk}/",
data={
"first_name": "Updated Name 2",
"password": "123xyz",
"password": "newreallystrongpassword456",
},
)