diff --git a/cmd/server/tests/user_test.go b/cmd/server/tests/user_test.go index cd8112a..00e1483 100644 --- a/cmd/server/tests/user_test.go +++ b/cmd/server/tests/user_test.go @@ -361,8 +361,8 @@ func TestUpdatePasswordAdminMode(t *testing.T) { targetUser := createRegularUserOnce(t, setup.DB) jsonData, _ := json.Marshal(map[string]interface{}{ - "new_password": "password1", - "confirm_password": "password2", + "new_password": "NewPassword123!", + "confirm_password": "DifferentPass123!", }) req := httptest.NewRequest("PUT", "/api/auth/password/"+targetUser.ID.String(), bytes.NewBuffer(jsonData))