Skip to content

Commit

Permalink
Used ldap to edit user rather occ
Browse files Browse the repository at this point in the history
  • Loading branch information
kiranparajuli589 committed Feb 5, 2020
1 parent 3398c1e commit 9d09c76
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions tests/acceptance/features/cliProvisioning/userSync.feature
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 9d09c76

Please sign in to comment.