1
0
mirror of https://github.com/BookStackApp/BookStack.git synced 2024-11-23 11:22:33 +01:00
BookStack/tests/User
Dan Brown 0123d83fb2
Fixed not being able to remove all user roles
User roles would only be actioned if they existed in the form request,
hence removal of all roles would have no data to action upon.
This adds a placeholder 0-id role to ensure there is always role data to
send, even when no roles are selected. This field value is latter
filtered out.

Added test to cover.

Likely related to #3922.
2022-12-16 17:44:13 +00:00
..
UserApiTokenTest.php Updated tests to use ssddanbrown/asserthtml package 2022-07-23 15:10:18 +01:00
UserManagementTest.php Fixed not being able to remove all user roles 2022-12-16 17:44:13 +00:00
UserPreferencesTest.php Converted md settings to localstorage, added preview resize 2022-11-28 14:08:20 +00:00
UserProfileTest.php Extracted entity testcase methods to own class 2022-09-29 16:49:25 +01:00
UserSearchTest.php Applied latest StyleCI changes 2021-12-15 13:49:20 +00:00