Merge pull request #2275 from nextcloud/adjust-integration-test-to-changes-in-access-to-shares-in-server

Adjust integration test to changes in access to shares in server
This commit is contained in:
Joas Schilling 2019-10-07 09:18:07 +02:00 коммит произвёл GitHub
Родитель 8cd054da6e 9aee59cd1c
Коммит 31c616023d
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
1 изменённых файлов: 13 добавлений и 2 удалений

Просмотреть файл

@ -1018,8 +1018,19 @@ Feature: hooks
| share_with | group room invited to |
| share_with_displayname | Group room invited to |
And user "participant3" gets last share
And the OCS status code should be "404"
And the HTTP status code should be "200"
And share is returned with
| uid_owner | participant2 |
| displayname_owner | participant2 |
| uid_file_owner | participant1 |
| displayname_file_owner | participant1-displayname |
| path | /welcome (2).txt |
| item_type | file |
| mimetype | text/plain |
| storage_id | shared::/welcome (2).txt |
| file_target | /welcome (2).txt |
| share_with | participant4 |
| share_with_displayname | participant4-displayname |
| share_type | 0 |
And user "participant3" gets all received shares
And the list of returned shares has 1 shares
And share 0 is returned with