Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/build
diff options
context:
space:
mode:
authorSergio Bertolin <sbertolin@solidgear.es>2016-03-11 11:32:40 +0300
committerSergio Bertolin <sbertolin@solidgear.es>2016-03-11 11:49:26 +0300
commitc153a27ce5dd0c20e36c337cba4bb4158d8ee61a (patch)
tree4fb33fa74451c4c278a46381f1c50cf9772b987c /build
parent44da5fe1ab2d74d6eb09b11e40e763b3b5c88c58 (diff)
Change resharing to local instead of remote because of a deadlock
Diffstat (limited to 'build')
-rw-r--r--build/integration/federation_features/federated.feature15
1 files changed, 10 insertions, 5 deletions
diff --git a/build/integration/federation_features/federated.feature b/build/integration/federation_features/federated.feature
index 8cb47a48f0b..5231b9430e9 100644
--- a/build/integration/federation_features/federated.feature
+++ b/build/integration/federation_features/federated.feature
@@ -86,23 +86,28 @@ Feature: federated
Then the OCS status code should be "100"
And the HTTP status code should be "200"
- Scenario: Federate reshare a file
+ Scenario: Reshare a federated shared file
Given Using server "REMOTE"
And user "user1" exists
+ And user "user2" exists
And Using server "LOCAL"
And user "user0" exists
And User "user0" from server "LOCAL" shares "/textfile0.txt" with user "user1" from server "REMOTE"
And User "user1" from server "REMOTE" accepts last pending share
And Using server "REMOTE"
And As an "user1"
- When User "user1" from server "REMOTE" shares "/textfile0 (2).txt" with user "user0" from server "LOCAL"
+ When creating a share with
+ | path | /textfile0 (2).txt |
+ | shareType | 0 |
+ | shareWith | user2 |
+ | permissions | 19 |
Then the OCS status code should be "100"
And the HTTP status code should be "200"
And Share fields of last share match with
| id | A_NUMBER |
| item_type | file |
| item_source | A_NUMBER |
- | share_type | 6 |
+ | share_type | 0 |
| file_source | A_NUMBER |
| path | /textfile0 (2).txt |
| permissions | 19 |
@@ -112,8 +117,8 @@ Feature: federated
| uid_owner | user1 |
| file_parent | A_NUMBER |
| displayname_owner | user1 |
- | share_with | user0@LOCAL |
- | share_with_displayname | user0@LOCAL |
+ | share_with | user2 |
+ | share_with_displayname | user2 |