Merge pull request #6440 from 2403905/issue-6436

Fix the username validation when an admin update the user
This commit is contained in:
Roman Perekhod
2023-06-07 12:23:47 +03:00
committed by GitHub
6 changed files with 25 additions and 7 deletions
@@ -66,9 +66,9 @@ Feature: edit user
Examples:
| action description | userName | code | newUserName |
| change to a valid user name | Lionel | 200 | Lionel |
| user name characters | *:!;_+-& | 200 | *:!;_+-& |
| user name characters | a*!_+-& | 200 | a*!_+-& |
| change to existing user name | Brian | 409 | Brian |
| empty user name | | 200 | Brian |
| empty user name | | 400 | Brian |
@skipOnStable2.0
Scenario: admin user changes the name of a user to the name of an existing disabled user