-
Notifications
You must be signed in to change notification settings - Fork 186
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
a40780a
commit cfe2b04
Showing
3 changed files
with
80 additions
and
57 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
24 changes: 24 additions & 0 deletions
24
tests/acceptance/features/apiAccountsHashDifficulty/createShareToSharesFolder.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,24 @@ | ||
@skipOnReva | ||
Feature: sharing | ||
As a user | ||
I want to be able to share files when passwords are stored with the full hash difficulty | ||
So that I can give people secure controlled access to my data | ||
|
||
Note - this feature is run in CI with ACCOUNTS_HASH_DIFFICULTY set to the default for production | ||
See https://github.com/owncloud/ocis/issues/1542 and https://github.com/owncloud/ocis/pull/839 | ||
|
||
|
||
Scenario Outline: creating a share of a file with a user | ||
Given using OCS API version "<ocs_api_version>" | ||
And user "Brian" has disabled auto-accepting | ||
And user "Alice" has been created with default attributes and without skeleton files | ||
And user "Alice" has uploaded file with content "ownCloud test text file 0" to "/textfile0.txt" | ||
And user "Brian" has been created with default attributes and without skeleton files | ||
When user "Alice" shares file "textfile0.txt" with user "Brian" using the sharing API | ||
And user "Brian" accepts share "/textfile0.txt" offered by user "Alice" using the sharing API | ||
Then the HTTP status code should be "200" | ||
And the content of file "/Shares/textfile0.txt" for user "Brian" should be "ownCloud test text file 0" | ||
Examples: | ||
| ocs_api_version | | ||
| 1 | | ||
| 2 | |
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