-
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.
- Loading branch information
1 parent
3d854b1
commit 4f5d961
Showing
2 changed files
with
56 additions
and
0 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
34 changes: 34 additions & 0 deletions
34
tests/acceptance/features/cliProvisioning/userReport.feature
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,34 @@ | ||
@cli @skipOnLDAP | ||
Feature: get user report | ||
As an admin | ||
I want to be able get user report | ||
So that I can see the total number of users in an ownCloud server | ||
|
||
Scenario: admin gets the user report | ||
Given these users have been created but not initialized: | ||
| username | | ||
| brand-new-user-1 | | ||
| brand-new-user-2 | | ||
When the administrator retrieves the user report using the occ command | ||
Then the command should have been successful | ||
And the total users returned by the commmand should be 3 | ||
|
||
Scenario: admin gets the user report when the user is disabled | ||
Given these users have been created but not initialized: | ||
| username | | ||
| brand-new-user-1 | | ||
| brand-new-user-2 | | ||
And user "brand-new-user-2" has been disabled | ||
When the administrator retrieves the user report using the occ command | ||
Then the command should have been successful | ||
And the total users returned by the commmand should be 3 | ||
|
||
Scenario: admin gets the user report when the user created and deleted | ||
Given these users have been created but not initialized: | ||
| username | | ||
| brand-new-user-1 | | ||
| brand-new-user-2 | | ||
And user "brand-new-user-2" has been deleted | ||
When the administrator retrieves the user report using the occ command | ||
Then the command should have been successful | ||
And the total users returned by the commmand should be 2 |