Skip to content

Commit

Permalink
Merge pull request #35824 from owncloud/stable10-remove-snakeoil-steps
Browse files Browse the repository at this point in the history
[stable10]Remove step to check ocs/http code in CLI test
  • Loading branch information
dpakach authored Jul 15, 2019
2 parents 10d729c + c10cb79 commit 42649c6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/acceptance/features/cliProvisioning/deleteUser.feature
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,13 @@ Feature: delete users
| username |
| brand-new-user |
When the administrator deletes user "Brand-New-User" using the occ command
Then the OCS status code should be "100"
And the HTTP status code should be "200"
Then the command should have been successful
And the command output should contain the text "User with uid 'brand-new-user', display name 'brand-new-user', email '' was deleted"
And user "brand-new-user" should not exist

Scenario: admin tries to delete a non-existing user
Given user "brand-new-user" has been deleted
When the administrator deletes user "brand-new-user" using the occ command
Then the command should have failed with exit code 1
And the command output should contain the text "User with uid 'brand-new-user' does not exist"
And user "brand-new-user" should not exist
And user "brand-new-user" should not exist

0 comments on commit 42649c6

Please sign in to comment.