diff --git a/tests/acceptance/expected-failures-API-on-OCIS-storage.md b/tests/acceptance/expected-failures-API-on-OCIS-storage.md index b437357f58..1ed963e08a 100644 --- a/tests/acceptance/expected-failures-API-on-OCIS-storage.md +++ b/tests/acceptance/expected-failures-API-on-OCIS-storage.md @@ -298,7 +298,7 @@ cannot share a folder with create permission #### [Empty OCS response for a share create request using a disabled user](https://github.com/owncloud/ocis/issues/2212) - [coreApiShareCreateSpecialToShares2/createShareWithDisabledUser.feature:21](https://github.com/owncloud/ocis/blob/master/tests/acceptance/features/coreApiShareCreateSpecialToShares2/createShareWithDisabledUser.feature#L21) -- [coreApiShareCreateSpecialToShares2/createShareWithDisabledUser.feature:12](https://github.com/owncloud/ocis/blob/master/tests/acceptance/features/coreApiShareCreateSpecialToShares2/createShareWithDisabledUser.feature#L12) +- [coreApiShareCreateSpecialToShares2/createShareWithDisabledUser.feature:22](https://github.com/owncloud/ocis/blob/master/tests/acceptance/features/coreApiShareCreateSpecialToShares2/createShareWithDisabledUser.feature#L22) #### [Edit user share response has a "name" field](https://github.com/owncloud/ocis/issues/1225) diff --git a/tests/acceptance/features/coreApiShareCreateSpecialToShares2/createShareWithDisabledUser.feature b/tests/acceptance/features/coreApiShareCreateSpecialToShares2/createShareWithDisabledUser.feature index 77853a09ab..9ffc0e2db1 100644 --- a/tests/acceptance/features/coreApiShareCreateSpecialToShares2/createShareWithDisabledUser.feature +++ b/tests/acceptance/features/coreApiShareCreateSpecialToShares2/createShareWithDisabledUser.feature @@ -9,19 +9,14 @@ Feature: share resources with a disabled user And user "Alice" has uploaded file "filesForUpload/textfile.txt" to "/textfile0.txt" @issue-2212 - Scenario: creating a new share with a disabled user - Given using OCS API version "1" - And user "Brian" has been created with default attributes and without skeleton files - And user "Alice" has been disabled - When user "Alice" shares file "textfile0.txt" with user "Brian" using the sharing API - Then the OCS status code should be "997" - And the HTTP status code should be "401" - - - Scenario: creating a new share with a disabled user - Given using OCS API version "2" + Scenario Outline: creating a new share with a disabled user + Given using OCS API version "" And user "Brian" has been created with default attributes and without skeleton files And user "Alice" has been disabled When user "Alice" shares file "textfile0.txt" with user "Brian" using the sharing API Then the OCS status code should be "997" And the HTTP status code should be "401" + Examples: + | ocs-api-version | + | 1 | + | 2 |