From 84b0a0259e17e0a852d4ec1b219ff734950f8eb6 Mon Sep 17 00:00:00 2001 From: Prarup Gurung Date: Fri, 21 Jun 2024 15:02:53 +0545 Subject: [PATCH] Adjusted failing ocs scenarios, removed from expected failure --- tests/acceptance/expected-failures-API-on-OCIS-storage.md | 6 ------ .../createShareDefaultFolderForReceivedShares.feature | 6 +++--- 2 files changed, 3 insertions(+), 9 deletions(-) diff --git a/tests/acceptance/expected-failures-API-on-OCIS-storage.md b/tests/acceptance/expected-failures-API-on-OCIS-storage.md index eb5b6d45af..beac6a1f92 100644 --- a/tests/acceptance/expected-failures-API-on-OCIS-storage.md +++ b/tests/acceptance/expected-failures-API-on-OCIS-storage.md @@ -241,12 +241,6 @@ Not everything needs to be implemented for ocis. While the oc10 testsuite covers - [coreApiTrashbin/trashbinDelete.feature:105](https://github.com/owncloud/ocis/blob/master/tests/acceptance/features/coreApiTrashbin/trashbinDelete.feature#L105) - -#### [sharing the shares folder to users exits with different status code than in oc10 backend](https://github.com/owncloud/ocis/issues/2215) - -- [coreApiShareCreateSpecialToShares2/createShareDefaultFolderForReceivedShares.feature:22](https://github.com/owncloud/ocis/blob/master/tests/acceptance/features/coreApiShareCreateSpecialToShares2/createShareDefaultFolderForReceivedShares.feature#L22) -- [coreApiShareCreateSpecialToShares2/createShareDefaultFolderForReceivedShares.feature:23](https://github.com/owncloud/ocis/blob/master/tests/acceptance/features/coreApiShareCreateSpecialToShares2/createShareDefaultFolderForReceivedShares.feature#L23) - ### [MOVE a file into same folder with same name returns 404 instead of 403](https://github.com/owncloud/ocis/issues/1976) - [coreApiWebdavMove2/moveFile.feature:120](https://github.com/owncloud/ocis/blob/master/tests/acceptance/features/coreApiWebdavMove2/moveFile.feature#L120) diff --git a/tests/acceptance/features/coreApiShareCreateSpecialToShares2/createShareDefaultFolderForReceivedShares.feature b/tests/acceptance/features/coreApiShareCreateSpecialToShares2/createShareDefaultFolderForReceivedShares.feature index 0825a44a79..db6b649895 100644 --- a/tests/acceptance/features/coreApiShareCreateSpecialToShares2/createShareDefaultFolderForReceivedShares.feature +++ b/tests/acceptance/features/coreApiShareCreateSpecialToShares2/createShareDefaultFolderForReceivedShares.feature @@ -18,6 +18,6 @@ Feature: shares are received in the default folder for received shares Then the OCS status code of responses on each endpoint should be "" respectively And the HTTP status code of responses on each endpoint should be "" respectively Examples: - | ocs-api-version | ocs-status-code | http-status-code | - | 1 | 100, 100, 100, 400 | 200, 200, 200, 200 | - | 2 | 200, 200, 200, 400 | 200, 200, 200, 400 | + | ocs-api-version | ocs-status-code | http-status-code | + | 1 | 100, 100, 403 | 200, 200, 200 | + | 2 | 200, 200, 403 | 200, 200, 403 |