mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
ipatests: update expected webui msg for admin deletion
The deletion of the admin is now forbidden (even if it is not the last member of the admins group) and the error message has changed from "admin cannot be deleted or disabled because it is the last member of group admins" to " user admin cannot be deleted/modified: privileged user". Update the expected message in the webui test. Related: https://pagure.io/freeipa/issue/8878 Signed-off-by: Florence Blanc-Renaud <flo@redhat.com> Reviewed-By: Alexander Bokovoy <abokovoy@redhat.com>
This commit is contained in:
@@ -50,8 +50,7 @@ INV_FIRSTNAME = ("invalid 'first': Leading and trailing spaces are "
|
||||
FIELD_REQ = 'Required field'
|
||||
ERR_INCLUDE = 'may only include letters, numbers, _, -, . and $'
|
||||
ERR_MISMATCH = 'Passwords must match'
|
||||
ERR_ADMIN_DEL = ('admin cannot be deleted or disabled because it is the last '
|
||||
'member of group admins')
|
||||
ERR_ADMIN_DEL = ('user admin cannot be deleted/modified: privileged user')
|
||||
USR_EXIST = 'user with name "{}" already exists'
|
||||
ENTRY_EXIST = 'This entry already exists'
|
||||
ACTIVE_ERR = 'active user with name "{}" already exists'
|
||||
|
||||
Reference in New Issue
Block a user