From 20fb2ea2be05e7c86dc2f74cd4eee8a36856d8ef Mon Sep 17 00:00:00 2001 From: Prarup Gurung Date: Wed, 12 Jun 2024 12:15:13 +0545 Subject: [PATCH] Removed failing ocs scenarios, removed from expected failure --- tests/acceptance/expected-failures-API-on-OCIS-storage.md | 5 ----- .../deleteShareFromShares.feature | 6 +++--- 2 files changed, 3 insertions(+), 8 deletions(-) diff --git a/tests/acceptance/expected-failures-API-on-OCIS-storage.md b/tests/acceptance/expected-failures-API-on-OCIS-storage.md index 797d26890d..e7d9d21c6d 100644 --- a/tests/acceptance/expected-failures-API-on-OCIS-storage.md +++ b/tests/acceptance/expected-failures-API-on-OCIS-storage.md @@ -132,11 +132,6 @@ cannot share a folder with create permission - [coreApiShareUpdateToShares/updateShare.feature:201](https://github.com/owncloud/ocis/blob/master/tests/acceptance/features/coreApiShareUpdateToShares/updateShare.feature#L201) - [coreApiShareUpdateToShares/updateShare.feature:202](https://github.com/owncloud/ocis/blob/master/tests/acceptance/features/coreApiShareUpdateToShares/updateShare.feature#L202) -#### [deleting a share with wrong authentication returns OCS status 996 / HTTP 500](https://github.com/owncloud/ocis/issues/1229) - -- [coreApiShareManagementBasicToShares/deleteShareFromShares.feature:277](https://github.com/owncloud/ocis/blob/master/tests/acceptance/features/coreApiShareManagementBasicToShares/deleteShareFromShares.feature#L277) -- [coreApiShareManagementBasicToShares/deleteShareFromShares.feature:278](https://github.com/owncloud/ocis/blob/master/tests/acceptance/features/coreApiShareManagementBasicToShares/deleteShareFromShares.feature#L278) - ### Other API, search, favorites, config, capabilities, not existing endpoints, CORS and others diff --git a/tests/acceptance/features/coreApiShareManagementBasicToShares/deleteShareFromShares.feature b/tests/acceptance/features/coreApiShareManagementBasicToShares/deleteShareFromShares.feature index eb7cfc9e2c..0e304d67c0 100644 --- a/tests/acceptance/features/coreApiShareManagementBasicToShares/deleteShareFromShares.feature +++ b/tests/acceptance/features/coreApiShareManagementBasicToShares/deleteShareFromShares.feature @@ -270,12 +270,12 @@ Feature: sharing | shareType | user | | permissionsRole | File Editor | When user "Brian" tries to delete the last share of user "Alice" using the sharing API - Then the OCS status code should be "404" - And the HTTP status code should be "" + Then the HTTP status code should be "" + And the OCS status code should be "996" Examples: | ocs-api-version | http-status-code | | 1 | 200 | - | 2 | 404 | + | 2 | 500 | Scenario Outline: unshare a shared resources