mirror of
https://github.com/opencloud-eu/opencloud.git
synced 2026-01-24 05:51:33 -05:00
* do not use spacesContext * skip sharing tests in reva * update expected failure list * do not cleanup status codes * skip shares tests in reva * update expected failure list
23 lines
893 B
Gherkin
23 lines
893 B
Gherkin
@skipOnReva @issue-1328
|
|
Feature: share resources with a disabled user
|
|
As a user
|
|
I want to share resources to disabled user
|
|
So that I can make sure it doesn't work
|
|
|
|
Background:
|
|
Given user "Alice" has been created with default attributes and without skeleton files
|
|
And user "Alice" has uploaded file "filesForUpload/textfile.txt" to "/textfile0.txt"
|
|
|
|
@issue-2212
|
|
Scenario Outline: creating a new share with a disabled user
|
|
Given using OCS API version "<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 |
|