mirror of
https://github.com/opencloud-eu/opencloud.git
synced 2026-01-03 19:00:05 -06:00
Merge pull request #9417 from owncloud/remove-ocs-scenarios
[full-ci] [tests-only] Removed failing ocs scenarios
This commit is contained in:
@@ -88,11 +88,6 @@ Synchronization features like etag propagation, setting mtime and locking files
|
||||
- [coreApiTrashbin/trashbinSharingToShares.feature:241](https://github.com/owncloud/ocis/blob/master/tests/acceptance/features/coreApiTrashbin/trashbinSharingToShares.feature#L241)
|
||||
- [coreApiTrashbin/trashbinSharingToShares.feature:269](https://github.com/owncloud/ocis/blob/master/tests/acceptance/features/coreApiTrashbin/trashbinSharingToShares.feature#L269)
|
||||
|
||||
#### [Edit user share response has a "name" field](https://github.com/owncloud/ocis/issues/1225)
|
||||
|
||||
- [coreApiShareUpdateToShares/updateShare.feature:200](https://github.com/owncloud/ocis/blob/master/tests/acceptance/features/coreApiShareUpdateToShares/updateShare.feature#L200)
|
||||
- [coreApiShareUpdateToShares/updateShare.feature:201](https://github.com/owncloud/ocis/blob/master/tests/acceptance/features/coreApiShareUpdateToShares/updateShare.feature#L201)
|
||||
|
||||
### Other
|
||||
|
||||
API, search, favorites, config, capabilities, not existing endpoints, CORS and others
|
||||
|
||||
@@ -2437,9 +2437,9 @@ trait Sharing {
|
||||
$this->verifyTableNodeColumnsCount($body, 2);
|
||||
$bodyRows = $body->getRowsHash();
|
||||
foreach ($bodyRows as $field => $value) {
|
||||
if (\in_array($field, ["displayname_owner", "displayname_file_owner", "owner", "uid_owner", "uid_file_owner"])) {
|
||||
if (\in_array($field, ["displayname_owner", "displayname_file_owner", "owner", "uid_owner", "uid_file_owner", "additional_info_owner", "additional_info_file_owner"])) {
|
||||
$value = $this->substituteInLineCodes($value, $sharer);
|
||||
} elseif (\in_array($field, ["share_with", "share_with_displayname", "user"])) {
|
||||
} elseif (\in_array($field, ["share_with", "share_with_displayname", "user", "share_with_additional_info"])) {
|
||||
$value = $this->substituteInLineCodes($value, $sharee);
|
||||
}
|
||||
$value = $this->replaceValuesFromTable($field, $value);
|
||||
|
||||
@@ -148,7 +148,6 @@ Feature: sharing
|
||||
Then the HTTP status code should be "502"
|
||||
|
||||
@issue-1253 @issue-1224 @issue-1225
|
||||
#after fixing all the issues merge this scenario with the one below
|
||||
Scenario Outline: change the permission of the share and check the API response
|
||||
Given using OCS API version "<ocs-api-version>"
|
||||
And user "Brian" has been created with default attributes and without skeleton files
|
||||
@@ -163,7 +162,7 @@ Feature: sharing
|
||||
When user "Alice" updates the last share using the sharing API with
|
||||
| permissions | all |
|
||||
Then the OCS status code should be "<ocs-status-code>"
|
||||
And the OCS status message should be ""
|
||||
And the OCS status message should be "OK"
|
||||
And the HTTP status code should be "200"
|
||||
And the fields of the last response to user "Alice" sharing with user "Brian" should include
|
||||
| id | A_STRING |
|
||||
@@ -177,8 +176,8 @@ Feature: sharing
|
||||
| token | |
|
||||
| uid_file_owner | %username% |
|
||||
| displayname_file_owner | %displayname% |
|
||||
| additional_info_owner | |
|
||||
| additional_info_file_owner | |
|
||||
| additional_info_owner | %emailaddress% |
|
||||
| additional_info_file_owner | %emailaddress% |
|
||||
| item_type | folder |
|
||||
| item_source | A_STRING |
|
||||
| path | /Alice-folder |
|
||||
@@ -189,12 +188,9 @@ Feature: sharing
|
||||
| file_target | /Shares/Alice-folder |
|
||||
| share_with | %username% |
|
||||
| share_with_displayname | %displayname% |
|
||||
| share_with_additional_info | |
|
||||
| share_with_additional_info | %emailaddress% |
|
||||
| mail_send | 0 |
|
||||
| attributes | |
|
||||
And the fields of the last response should not include
|
||||
| name | |
|
||||
# | token | |
|
||||
| name | |
|
||||
Examples:
|
||||
| ocs-api-version | ocs-status-code |
|
||||
| 1 | 100 |
|
||||
|
||||
Reference in New Issue
Block a user