-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #33041 from owncloud/test-acceptance-cli-infrastru…
…cture Test acceptance cli infrastructure
- Loading branch information
Showing
7 changed files
with
115 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
@cli @skipOnLDAP | ||
Feature: add a user using the using the occ command | ||
|
||
As an administrator | ||
I want to be able to add users via the command line | ||
So that I can give people controlled individual access to resources on the ownCloud server and | ||
So that I can write scripts to add users | ||
|
||
Scenario: admin creates an ordinary user using the occ command | ||
When the administrator creates this user using the occ command: | ||
| username | | ||
| justauser | | ||
Then the command should have been successful | ||
And the command output should contain the text 'The user "justauser" was created successfully' | ||
And user "justauser" should exist | ||
And user "justauser" should be able to access a skeleton file | ||
|
||
Scenario: admin creates an ordinary user sspecifying attributes using the occ command | ||
When the administrator creates this user using the occ command: | ||
| username | displayname | email | | ||
| justauser | Just A User | justauser@example.com | | ||
Then the command should have been successful | ||
And the command output should contain the text 'The user "justauser" was created successfully' | ||
And the command output should contain the text 'Display name set to "Just A User"' | ||
And the command output should contain the text 'Email address set to "justauser@example.com"' | ||
And user "justauser" should exist | ||
And user "justauser" should be able to access a skeleton file | ||
When the administrator retrieves the information of user "justauser" using the provisioning API | ||
Then the user attributes returned by the API should include | ||
| displayname | Just A User | | ||
| email | justauser@example.com | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters