Skip to content

Commit facb00d

Browse files
committed
update tests
1 parent d2bfb38 commit facb00d

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

unittests/test_rest_framework.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1709,7 +1709,9 @@ def test_create(self):
17091709
self.assertEqual(self.endpoint_model.objects.count(), length + 1)
17101710

17111711
def test_create_user_with_non_configuration_permissions(self):
1712-
payload = self.payload.copy()
1712+
payload = self.payload.copy() | {
1713+
"password": "testTEST1234!@#$",
1714+
}
17131715
payload["configuration_permissions"] = [25, 26] # these permissions exist but user can not assign them becaause they are not "configuration_permissions"
17141716
response = self.client.post(self.url, payload)
17151717
self.assertEqual(response.status_code, 400)

0 commit comments

Comments
 (0)