mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
tests_webui: fix wrong user name key for trail space case
User name for trail space key was using the name for lead space key. As a result, when both tests were transformed, second one was unsuccessful as the original user was already created. Fix the user name data according to the test. Fixes: https://pagure.io/freeipa/issue/8629 Signed-off-by: Alexander Bokovoy <abokovoy@redhat.com> Reviewed-By: Florence Blanc-Renaud <frenaud@redhat.com>
This commit is contained in:
@@ -175,9 +175,9 @@ DATA_PASSWD_LEAD_SPACE = {
|
||||
|
||||
PKEY_PASSWD_TRAIL_SPACE = 'itest-user-passwd-trailing-space'
|
||||
DATA_PASSWD_TRAIL_SPACE = {
|
||||
'pkey': PKEY_PASSWD_LEAD_SPACE,
|
||||
'pkey': PKEY_PASSWD_TRAIL_SPACE,
|
||||
'add': [
|
||||
('textbox', 'uid', PKEY_PASSWD_LEAD_SPACE),
|
||||
('textbox', 'uid', PKEY_PASSWD_TRAIL_SPACE),
|
||||
('textbox', 'givenname', 'Name8'),
|
||||
('textbox', 'sn', 'Surname8'),
|
||||
('password', 'userpassword', 'Password123 '),
|
||||
|
||||
Reference in New Issue
Block a user