From 9d09c76a9615b33174ff34ac7042437ada7eed51 Mon Sep 17 00:00:00 2001 From: Kiran Parajuli Date: Wed, 5 Feb 2020 11:19:34 +0545 Subject: [PATCH] Used ldap to edit user rather occ --- .../features/cliProvisioning/userSync.feature | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/tests/acceptance/features/cliProvisioning/userSync.feature b/tests/acceptance/features/cliProvisioning/userSync.feature index 2ee0d68ec..d7cb32304 100644 --- a/tests/acceptance/features/cliProvisioning/userSync.feature +++ b/tests/acceptance/features/cliProvisioning/userSync.feature @@ -2,7 +2,7 @@ Feature: sync user using occ command As an administrator - I want to be able to sync a user via the command line + I want to be able to sync user/users via the command line So that I can easily manage users when user LDAP is enabled Background: @@ -51,21 +51,21 @@ Feature: sync user using occ command Scenario: sync a ldap user that is substring of some other ldap users Given user "user10" has been created with default attributes and without skeleton files - When the administrator changes the display name of user "user0" to "Test User" using the occ command - And LDAP user "user0" is resynced + When the administrator sets the ldap attribute "displayname" of the entry "uid=user1,ou=TestUsers" to "Test User" + And LDAP user "user1" is resynced Then user "user0" should exist And user "user1" should exist And user "user10" should exist - And the display name of user "user0" should be "User Zero" + And the display name of user "user1" should be "Test User" Scenario: sync a ldap user that is superstring of some other ldap users Given user "user10" has been created with default attributes and without skeleton files - When the administrator changes the display name of user "user10" to "Test User" using the occ command + When the administrator sets the ldap attribute "displayname" of the entry "uid=user10,ou=TestUsers" to "Test User" And LDAP user "user10" is resynced Then user "user0" should exist And user "user1" should exist And user "user10" should exist - And the display name of user "user10" should be "Regular User" + And the display name of user "user10" should be "Test User" Scenario: sync a local user Given user "local-user" has been created with default attributes in the database user backend