]> git.ipfire.org Git - thirdparty/paperless-ngx.git/commitdiff
Lol, password validation really does work feature-profile-pw 11308/head
authorshamoon <4887959+shamoon@users.noreply.github.com>
Thu, 6 Nov 2025 23:55:37 +0000 (15:55 -0800)
committershamoon <4887959+shamoon@users.noreply.github.com>
Thu, 6 Nov 2025 23:55:37 +0000 (15:55 -0800)
src/documents/tests/test_api_permissions.py

index 8ffce1f95a183a70417a1faa8d28880ad9426c6b..bc81dabe91167299e81cc2c6d73f6c1a3cba12f7 100644 (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",
             },
         )