From 3419eacb6d13740ac0ec938dd3ad09a69835d0a9 Mon Sep 17 00:00:00 2001 From: Prarup Gurung Date: Thu, 23 Feb 2023 10:15:38 +0545 Subject: [PATCH] Removed step and implementation setting default share folder --- .../createShareToSharesFolder.feature | 3 +-- .../features/apiSpacesShares/checksum.feature | 1 - .../features/bootstrap/OccContext.php | 26 ------------------- .../favoritesSharingToShares.feature | 3 +-- .../features/coreApiMain/checksums.feature | 6 ++--- ...eateShareResourceCaseSensitiveName.feature | 3 +-- .../createShareUniqueReceivedNames.feature | 3 +-- ...hareDefaultFolderForReceivedShares.feature | 3 +-- ...reateShareGroupAndUserWithSameName.feature | 3 +-- .../createShareReceivedInMultipleWays.feature | 3 +-- .../createShareWithDisabledUser.feature | 3 +-- .../createShareWithInvalidPermissions.feature | 3 +-- .../createShareToSharesFolder.feature | 3 +-- .../deleteShareFromShares.feature | 3 +-- ...pFromReceivingSharesToSharesFolder.feature | 3 +-- .../acceptShares.feature | 3 +-- .../acceptSharesToSharesFolder.feature | 3 +-- .../mergeShare.feature | 3 +-- .../moveReceivedShare.feature | 3 +-- .../moveShareInsideAnotherShare.feature | 3 +-- .../accessToShare.feature | 3 +-- .../changingFilesShare.feature | 3 +-- .../gettingShares.feature | 3 +-- .../gettingSharesPendingFiltered.feature | 3 +-- .../gettingSharesReceivedFiltered.feature | 3 +-- ...gettingSharesReceivedFilteredEmpty.feature | 3 +-- .../gettingSharesSharedFiltered.feature | 3 +-- .../getWebDAVSharePermissions.feature | 3 +-- .../shareAccessByID.feature | 3 +-- .../uploadToShare.feature | 3 +-- .../createPublicLinkShareToShares.feature | 3 +-- .../updatePublicLinkShare.feature | 12 +++------ .../reShare.feature | 3 +-- .../reShareChain.feature | 3 +-- .../reShareDisabled.feature | 3 +-- .../reShareSubfolder.feature | 3 +-- .../reShareUpdate.feature | 3 +-- .../reShareWithExpiryDate.feature | 3 +-- .../updateShare.feature | 3 +-- ...pdateShareGroupAndUserWithSameName.feature | 3 +-- .../trashbinSharingToShares.feature | 3 +-- .../deleteFileFolder.feature | 3 --- .../moveFileFolder.feature | 6 ----- .../copyFileFolder.feature | 2 -- .../createFolder.feature | 1 - .../upload.feature | 1 - .../independentLocksShareToShares.feature | 3 +-- .../unlockSharingToShares.feature | 3 +-- .../coreApiWebdavPreviews/previews.feature | 12 +++------ .../coreApiWebdavProperties1/copyFile.feature | 1 - .../createFileFolderWhenSharesExist.feature | 3 +-- .../uploadFileMtimeShares.feature | 3 +-- .../uploadToNonExistingFolder.feature | 1 - .../uploadToShare.feature | 3 +-- .../apiShareManagement/acceptShares.feature | 3 +-- 55 files changed, 53 insertions(+), 148 deletions(-) diff --git a/tests/acceptance/features/apiAccountsHashDifficulty/createShareToSharesFolder.feature b/tests/acceptance/features/apiAccountsHashDifficulty/createShareToSharesFolder.feature index 36f2fa1f5..7c5a3a7aa 100644 --- a/tests/acceptance/features/apiAccountsHashDifficulty/createShareToSharesFolder.feature +++ b/tests/acceptance/features/apiAccountsHashDifficulty/createShareToSharesFolder.feature @@ -9,8 +9,7 @@ Feature: sharing Scenario Outline: Creating a share of a file with a user - Given the administrator has set the default folder for received shares to "Shares" - And auto-accept shares has been disabled + Given auto-accept shares has been disabled And using OCS API version "" And user "Alice" has been created with default attributes and without skeleton files And user "Alice" has uploaded file with content "ownCloud test text file 0" to "/textfile0.txt" diff --git a/tests/acceptance/features/apiSpacesShares/checksum.feature b/tests/acceptance/features/apiSpacesShares/checksum.feature index 9115b6893..e7f8095ee 100644 --- a/tests/acceptance/features/apiSpacesShares/checksum.feature +++ b/tests/acceptance/features/apiSpacesShares/checksum.feature @@ -3,7 +3,6 @@ Feature: checksums Background: Given user "Alice" has been created with default attributes and without skeleton files - And the administrator has set the default folder for received shares to "Shares" And auto-accept shares has been disabled And using spaces DAV path And user "Brian" has been created with default attributes and without skeleton files diff --git a/tests/acceptance/features/bootstrap/OccContext.php b/tests/acceptance/features/bootstrap/OccContext.php index b6dbe4987..88e90977f 100644 --- a/tests/acceptance/features/bootstrap/OccContext.php +++ b/tests/acceptance/features/bootstrap/OccContext.php @@ -957,32 +957,6 @@ class OccContext implements Context { ); } - /** - * @Given the administrator has set the default folder for received shares to :folder - * - * @param string $folder - * - * @return void - * @throws Exception - */ - public function theAdministratorHasSetTheDefaultFolderForReceivedSharesTo(string $folder):void { - if (OcisHelper::isTestingOnOcisOrReva()) { - // The default folder for received shares is already "Shares" on OCIS and REVA. - // If the step is asking for a different folder, then fail. - // Otherwise just return - the setting is already done by default. - Assert::assertEquals( - "Shares", - \trim($folder, "/"), - __METHOD__ . " tried to set the default folder for received shares to $folder but that is not possible on OCIS" - ); - return; - } - $this->addSystemConfigKeyUsingTheOccCommand( - "share_folder", - $folder - ); - } - /** * @When the administrator has set depth_infinity_allowed to :depth_infinity_allowed * diff --git a/tests/acceptance/features/coreApiFavorites/favoritesSharingToShares.feature b/tests/acceptance/features/coreApiFavorites/favoritesSharingToShares.feature index 937624f5d..8668c4c51 100644 --- a/tests/acceptance/features/coreApiFavorites/favoritesSharingToShares.feature +++ b/tests/acceptance/features/coreApiFavorites/favoritesSharingToShares.feature @@ -2,8 +2,7 @@ Feature: favorite Background: - Given the administrator has set the default folder for received shares to "Shares" - And auto-accept shares has been disabled + Given auto-accept shares has been disabled And user "Alice" has been created with default attributes and without skeleton files And user "Alice" has created folder "/PARENT" And user "Alice" has uploaded file with content "some data" to "/PARENT/parent.txt" diff --git a/tests/acceptance/features/coreApiMain/checksums.feature b/tests/acceptance/features/coreApiMain/checksums.feature index 54df5217b..a87251daf 100644 --- a/tests/acceptance/features/coreApiMain/checksums.feature +++ b/tests/acceptance/features/coreApiMain/checksums.feature @@ -174,8 +174,7 @@ Feature: checksums @files_sharing-app-required @issue-ocis-reva-196 Scenario Outline: Sharing a file with checksum should return the checksum in the propfind using new DAV path - Given the administrator has set the default folder for received shares to "Shares" - And auto-accept shares has been disabled + Given auto-accept shares has been disabled And using DAV path And user "Brian" has been created with default attributes and without skeleton files And user "Alice" has uploaded file "filesForUpload/textfile.txt" to "/myChecksumFile.txt" with checksum "MD5:d70b40f177b14b470d1756a3c12b963a" @@ -190,8 +189,7 @@ Feature: checksums @files_sharing-app-required @issue-ocis-reva-196 @skipOnOcV10 Scenario Outline: Modifying a shared file should return correct checksum in the propfind using new DAV path - Given the administrator has set the default folder for received shares to "Shares" - And auto-accept shares has been disabled + Given auto-accept shares has been disabled And using DAV path And user "Brian" has been created with default attributes and without skeleton files And user "Alice" has uploaded file "filesForUpload/textfile.txt" to "/myChecksumFile.txt" with checksum "MD5:d70b40f177b14b470d1756a3c12b963a" diff --git a/tests/acceptance/features/coreApiShareCreateSpecialToShares1/createShareResourceCaseSensitiveName.feature b/tests/acceptance/features/coreApiShareCreateSpecialToShares1/createShareResourceCaseSensitiveName.feature index 19963c6ec..5da8ef760 100644 --- a/tests/acceptance/features/coreApiShareCreateSpecialToShares1/createShareResourceCaseSensitiveName.feature +++ b/tests/acceptance/features/coreApiShareCreateSpecialToShares1/createShareResourceCaseSensitiveName.feature @@ -2,8 +2,7 @@ Feature: Sharing resources with different case names with the sharee and checking the coexistence of resources on sharee/receivers side Background: - Given the administrator has set the default folder for received shares to "Shares" - And auto-accept shares has been disabled + Given auto-accept shares has been disabled And these users have been created with default attributes and without skeleton files: | username | | Alice | diff --git a/tests/acceptance/features/coreApiShareCreateSpecialToShares1/createShareUniqueReceivedNames.feature b/tests/acceptance/features/coreApiShareCreateSpecialToShares1/createShareUniqueReceivedNames.feature index b2efa2f54..102951dfd 100644 --- a/tests/acceptance/features/coreApiShareCreateSpecialToShares1/createShareUniqueReceivedNames.feature +++ b/tests/acceptance/features/coreApiShareCreateSpecialToShares1/createShareUniqueReceivedNames.feature @@ -2,8 +2,7 @@ Feature: resources shared with the same name are received with unique names Background: - Given the administrator has set the default folder for received shares to "Shares" - And auto-accept shares has been disabled + Given auto-accept shares has been disabled And using OCS API version "1" And these users have been created with default attributes and without skeleton files: | username | diff --git a/tests/acceptance/features/coreApiShareCreateSpecialToShares2/createShareDefaultFolderForReceivedShares.feature b/tests/acceptance/features/coreApiShareCreateSpecialToShares2/createShareDefaultFolderForReceivedShares.feature index 6080180b0..2ee657d34 100644 --- a/tests/acceptance/features/coreApiShareCreateSpecialToShares2/createShareDefaultFolderForReceivedShares.feature +++ b/tests/acceptance/features/coreApiShareCreateSpecialToShares2/createShareDefaultFolderForReceivedShares.feature @@ -2,8 +2,7 @@ Feature: shares are received in the default folder for received shares Background: - Given the administrator has set the default folder for received shares to "Shares" - And auto-accept shares has been disabled + Given auto-accept shares has been disabled And user "Alice" has been created with default attributes and without skeleton files diff --git a/tests/acceptance/features/coreApiShareCreateSpecialToShares2/createShareGroupAndUserWithSameName.feature b/tests/acceptance/features/coreApiShareCreateSpecialToShares2/createShareGroupAndUserWithSameName.feature index 60d20827b..3011ace85 100644 --- a/tests/acceptance/features/coreApiShareCreateSpecialToShares2/createShareGroupAndUserWithSameName.feature +++ b/tests/acceptance/features/coreApiShareCreateSpecialToShares2/createShareGroupAndUserWithSameName.feature @@ -2,8 +2,7 @@ Feature: sharing works when a username and group name are the same Background: - Given the administrator has set the default folder for received shares to "Shares" - And auto-accept shares has been disabled + Given auto-accept shares has been disabled And user "Alice" has been created with default attributes and without skeleton files @skipOnLDAP diff --git a/tests/acceptance/features/coreApiShareCreateSpecialToShares2/createShareReceivedInMultipleWays.feature b/tests/acceptance/features/coreApiShareCreateSpecialToShares2/createShareReceivedInMultipleWays.feature index ef445d866..770ca6e63 100644 --- a/tests/acceptance/features/coreApiShareCreateSpecialToShares2/createShareReceivedInMultipleWays.feature +++ b/tests/acceptance/features/coreApiShareCreateSpecialToShares2/createShareReceivedInMultipleWays.feature @@ -2,8 +2,7 @@ Feature: share resources where the sharee receives the share in multiple ways Background: - Given the administrator has set the default folder for received shares to "Shares" - And auto-accept shares has been disabled + Given auto-accept shares has been disabled And these users have been created with default attributes and without skeleton files: | username | | Alice | diff --git a/tests/acceptance/features/coreApiShareCreateSpecialToShares2/createShareWithDisabledUser.feature b/tests/acceptance/features/coreApiShareCreateSpecialToShares2/createShareWithDisabledUser.feature index 365d81730..b530b3090 100644 --- a/tests/acceptance/features/coreApiShareCreateSpecialToShares2/createShareWithDisabledUser.feature +++ b/tests/acceptance/features/coreApiShareCreateSpecialToShares2/createShareWithDisabledUser.feature @@ -2,8 +2,7 @@ Feature: share resources with a disabled user Background: - Given the administrator has set the default folder for received shares to "Shares" - And auto-accept shares has been disabled + Given auto-accept shares has been disabled And user "Alice" has been created with default attributes and without skeleton files And user "Alice" has uploaded file "filesForUpload/textfile.txt" to "/textfile0.txt" diff --git a/tests/acceptance/features/coreApiShareCreateSpecialToShares2/createShareWithInvalidPermissions.feature b/tests/acceptance/features/coreApiShareCreateSpecialToShares2/createShareWithInvalidPermissions.feature index 3f654ac01..98d43f44a 100644 --- a/tests/acceptance/features/coreApiShareCreateSpecialToShares2/createShareWithInvalidPermissions.feature +++ b/tests/acceptance/features/coreApiShareCreateSpecialToShares2/createShareWithInvalidPermissions.feature @@ -2,8 +2,7 @@ Feature: cannot share resources with invalid permissions Background: - Given the administrator has set the default folder for received shares to "Shares" - And auto-accept shares has been disabled + Given auto-accept shares has been disabled And user "Alice" has been created with default attributes and without skeleton files And user "Alice" has uploaded file with content "some data" to "/textfile0.txt" And user "Alice" has created folder "/PARENT" diff --git a/tests/acceptance/features/coreApiShareManagementBasicToShares/createShareToSharesFolder.feature b/tests/acceptance/features/coreApiShareManagementBasicToShares/createShareToSharesFolder.feature index abacfbc6f..7fbacb382 100644 --- a/tests/acceptance/features/coreApiShareManagementBasicToShares/createShareToSharesFolder.feature +++ b/tests/acceptance/features/coreApiShareManagementBasicToShares/createShareToSharesFolder.feature @@ -2,8 +2,7 @@ Feature: sharing Background: - Given the administrator has set the default folder for received shares to "Shares" - And auto-accept shares has been disabled + Given auto-accept shares has been disabled And user "Alice" has been created with default attributes and without skeleton files @smokeTest @skipOnEncryptionType:user-keys @issue-32322 diff --git a/tests/acceptance/features/coreApiShareManagementBasicToShares/deleteShareFromShares.feature b/tests/acceptance/features/coreApiShareManagementBasicToShares/deleteShareFromShares.feature index 749737618..7fcad15f0 100644 --- a/tests/acceptance/features/coreApiShareManagementBasicToShares/deleteShareFromShares.feature +++ b/tests/acceptance/features/coreApiShareManagementBasicToShares/deleteShareFromShares.feature @@ -2,8 +2,7 @@ Feature: sharing Background: - Given the administrator has set the default folder for received shares to "Shares" - And auto-accept shares has been disabled + Given auto-accept shares has been disabled And these users have been created with default attributes and without skeleton files: | username | | Alice | diff --git a/tests/acceptance/features/coreApiShareManagementBasicToShares/excludeGroupFromReceivingSharesToSharesFolder.feature b/tests/acceptance/features/coreApiShareManagementBasicToShares/excludeGroupFromReceivingSharesToSharesFolder.feature index 4fa45a34b..2ff8c39e1 100644 --- a/tests/acceptance/features/coreApiShareManagementBasicToShares/excludeGroupFromReceivingSharesToSharesFolder.feature +++ b/tests/acceptance/features/coreApiShareManagementBasicToShares/excludeGroupFromReceivingSharesToSharesFolder.feature @@ -5,8 +5,7 @@ Feature: Exclude groups from receiving shares So that users do not mistakenly share with groups they should not e.g. huge meta groups Background: - Given the administrator has set the default folder for received shares to "Shares" - And auto-accept shares has been disabled + Given auto-accept shares has been disabled And these users have been created with default attributes and without skeleton files: | username | | Alice | diff --git a/tests/acceptance/features/coreApiShareManagementToShares/acceptShares.feature b/tests/acceptance/features/coreApiShareManagementToShares/acceptShares.feature index 2f08edf2b..44f67035e 100644 --- a/tests/acceptance/features/coreApiShareManagementToShares/acceptShares.feature +++ b/tests/acceptance/features/coreApiShareManagementToShares/acceptShares.feature @@ -5,8 +5,7 @@ Feature: accept/decline shares coming from internal users So that I can keep my file system clean Background: - Given the administrator has set the default folder for received shares to "Shares" - And auto-accept shares has been disabled + Given auto-accept shares has been disabled And using OCS API version "1" And using new DAV path And these users have been created with default attributes and without skeleton files: diff --git a/tests/acceptance/features/coreApiShareManagementToShares/acceptSharesToSharesFolder.feature b/tests/acceptance/features/coreApiShareManagementToShares/acceptSharesToSharesFolder.feature index ab1dbe337..488e262c0 100644 --- a/tests/acceptance/features/coreApiShareManagementToShares/acceptSharesToSharesFolder.feature +++ b/tests/acceptance/features/coreApiShareManagementToShares/acceptSharesToSharesFolder.feature @@ -5,8 +5,7 @@ Feature: accept/decline shares coming from internal users to the Shares folder So that I can keep my file system clean Background: - Given the administrator has set the default folder for received shares to "Shares" - And parameter "shareapi_auto_accept_share" of app "core" has been set to "no" + Given parameter "shareapi_auto_accept_share" of app "core" has been set to "no" And using OCS API version "1" And using new DAV path And these users have been created with default attributes and without skeleton files: diff --git a/tests/acceptance/features/coreApiShareManagementToShares/mergeShare.feature b/tests/acceptance/features/coreApiShareManagementToShares/mergeShare.feature index 0d195ba9a..b492c0259 100644 --- a/tests/acceptance/features/coreApiShareManagementToShares/mergeShare.feature +++ b/tests/acceptance/features/coreApiShareManagementToShares/mergeShare.feature @@ -2,8 +2,7 @@ Feature: sharing Background: - Given the administrator has set the default folder for received shares to "Shares" - And auto-accept shares has been disabled + Given auto-accept shares has been disabled And using OCS API version "1" And these users have been created with default attributes and without skeleton files: | username | diff --git a/tests/acceptance/features/coreApiShareManagementToShares/moveReceivedShare.feature b/tests/acceptance/features/coreApiShareManagementToShares/moveReceivedShare.feature index 6ed246b06..55b918b52 100644 --- a/tests/acceptance/features/coreApiShareManagementToShares/moveReceivedShare.feature +++ b/tests/acceptance/features/coreApiShareManagementToShares/moveReceivedShare.feature @@ -2,8 +2,7 @@ Feature: sharing Background: - Given the administrator has set the default folder for received shares to "Shares" - And auto-accept shares has been disabled + Given auto-accept shares has been disabled And using OCS API version "1" And these users have been created with default attributes and without skeleton files: | username | diff --git a/tests/acceptance/features/coreApiShareManagementToShares/moveShareInsideAnotherShare.feature b/tests/acceptance/features/coreApiShareManagementToShares/moveShareInsideAnotherShare.feature index 1156c7f2a..f2940ba0f 100644 --- a/tests/acceptance/features/coreApiShareManagementToShares/moveShareInsideAnotherShare.feature +++ b/tests/acceptance/features/coreApiShareManagementToShares/moveShareInsideAnotherShare.feature @@ -5,8 +5,7 @@ Feature: moving a share inside another share Because I need full flexibility when managing resources. Background: - Given the administrator has set the default folder for received shares to "Shares" - And auto-accept shares has been disabled + Given auto-accept shares has been disabled And using OCS API version "1" And these users have been created with default attributes and without skeleton files: | username | diff --git a/tests/acceptance/features/coreApiShareOperationsToShares1/accessToShare.feature b/tests/acceptance/features/coreApiShareOperationsToShares1/accessToShare.feature index 9c3c3163c..515b1d567 100644 --- a/tests/acceptance/features/coreApiShareOperationsToShares1/accessToShare.feature +++ b/tests/acceptance/features/coreApiShareOperationsToShares1/accessToShare.feature @@ -2,8 +2,7 @@ Feature: sharing Background: - Given the administrator has set the default folder for received shares to "Shares" - And auto-accept shares has been disabled + Given auto-accept shares has been disabled And these users have been created with default attributes and without skeleton files: | username | | Alice | diff --git a/tests/acceptance/features/coreApiShareOperationsToShares1/changingFilesShare.feature b/tests/acceptance/features/coreApiShareOperationsToShares1/changingFilesShare.feature index a0b6a5192..5d55ec935 100644 --- a/tests/acceptance/features/coreApiShareOperationsToShares1/changingFilesShare.feature +++ b/tests/acceptance/features/coreApiShareOperationsToShares1/changingFilesShare.feature @@ -2,8 +2,7 @@ Feature: sharing Background: - Given the administrator has set the default folder for received shares to "Shares" - And auto-accept shares has been disabled + Given auto-accept shares has been disabled And these users have been created with default attributes and without skeleton files: | username | | Alice | diff --git a/tests/acceptance/features/coreApiShareOperationsToShares1/gettingShares.feature b/tests/acceptance/features/coreApiShareOperationsToShares1/gettingShares.feature index 7a6c9859f..4eeb06df6 100644 --- a/tests/acceptance/features/coreApiShareOperationsToShares1/gettingShares.feature +++ b/tests/acceptance/features/coreApiShareOperationsToShares1/gettingShares.feature @@ -2,8 +2,7 @@ Feature: sharing Background: - Given the administrator has set the default folder for received shares to "Shares" - And auto-accept shares has been disabled + Given auto-accept shares has been disabled And these users have been created with default attributes and without skeleton files: | username | | Alice | diff --git a/tests/acceptance/features/coreApiShareOperationsToShares1/gettingSharesPendingFiltered.feature b/tests/acceptance/features/coreApiShareOperationsToShares1/gettingSharesPendingFiltered.feature index 3181330c3..d5576bdf1 100644 --- a/tests/acceptance/features/coreApiShareOperationsToShares1/gettingSharesPendingFiltered.feature +++ b/tests/acceptance/features/coreApiShareOperationsToShares1/gettingSharesPendingFiltered.feature @@ -5,8 +5,7 @@ Feature: get the pending shares filtered by type (user, group etc) So that I can reduce the amount of data that has to be transferred to be just the data that I need Background: - Given the administrator has set the default folder for received shares to "Shares" - And auto-accept shares has been disabled + Given auto-accept shares has been disabled And these users have been created with default attributes and without skeleton files: | username | | Alice | diff --git a/tests/acceptance/features/coreApiShareOperationsToShares1/gettingSharesReceivedFiltered.feature b/tests/acceptance/features/coreApiShareOperationsToShares1/gettingSharesReceivedFiltered.feature index ed35bfb1d..b30e51780 100644 --- a/tests/acceptance/features/coreApiShareOperationsToShares1/gettingSharesReceivedFiltered.feature +++ b/tests/acceptance/features/coreApiShareOperationsToShares1/gettingSharesReceivedFiltered.feature @@ -5,8 +5,7 @@ Feature: get the received shares filtered by type (user, group etc) So that I can reduce the amount of data that has to be transferred to be just the data that I need Background: - Given the administrator has set the default folder for received shares to "Shares" - And auto-accept shares has been disabled + Given auto-accept shares has been disabled And these users have been created with default attributes and without skeleton files: | username | | Alice | diff --git a/tests/acceptance/features/coreApiShareOperationsToShares1/gettingSharesReceivedFilteredEmpty.feature b/tests/acceptance/features/coreApiShareOperationsToShares1/gettingSharesReceivedFilteredEmpty.feature index e1cae806d..5914feb0d 100644 --- a/tests/acceptance/features/coreApiShareOperationsToShares1/gettingSharesReceivedFilteredEmpty.feature +++ b/tests/acceptance/features/coreApiShareOperationsToShares1/gettingSharesReceivedFilteredEmpty.feature @@ -5,8 +5,7 @@ Feature: get the received shares filtered by type (user, group etc) So that I can reduce the amount of data that has to be transferred to be just the data that I need Background: - Given the administrator has set the default folder for received shares to "Shares" - And auto-accept shares has been disabled + Given auto-accept shares has been disabled And these users have been created with default attributes and without skeleton files: | username | | Alice | diff --git a/tests/acceptance/features/coreApiShareOperationsToShares1/gettingSharesSharedFiltered.feature b/tests/acceptance/features/coreApiShareOperationsToShares1/gettingSharesSharedFiltered.feature index 9cc3c336c..eeb63bd4a 100644 --- a/tests/acceptance/features/coreApiShareOperationsToShares1/gettingSharesSharedFiltered.feature +++ b/tests/acceptance/features/coreApiShareOperationsToShares1/gettingSharesSharedFiltered.feature @@ -5,8 +5,7 @@ Feature: get shares filtered by type (user, group etc) So that I can reduce the amount of data that has to be transferred to be just the data that I need Background: - Given the administrator has set the default folder for received shares to "Shares" - And auto-accept shares has been disabled + Given auto-accept shares has been disabled And these users have been created with default attributes and without skeleton files: | username | | Alice | diff --git a/tests/acceptance/features/coreApiShareOperationsToShares2/getWebDAVSharePermissions.feature b/tests/acceptance/features/coreApiShareOperationsToShares2/getWebDAVSharePermissions.feature index 559f62dca..547e1daa6 100644 --- a/tests/acceptance/features/coreApiShareOperationsToShares2/getWebDAVSharePermissions.feature +++ b/tests/acceptance/features/coreApiShareOperationsToShares2/getWebDAVSharePermissions.feature @@ -2,8 +2,7 @@ Feature: sharing Background: - Given the administrator has set the default folder for received shares to "Shares" - And auto-accept shares has been disabled + Given auto-accept shares has been disabled And using OCS API version "1" And these users have been created with default attributes and without skeleton files: | username | diff --git a/tests/acceptance/features/coreApiShareOperationsToShares2/shareAccessByID.feature b/tests/acceptance/features/coreApiShareOperationsToShares2/shareAccessByID.feature index a29c1f9df..aea0625a8 100644 --- a/tests/acceptance/features/coreApiShareOperationsToShares2/shareAccessByID.feature +++ b/tests/acceptance/features/coreApiShareOperationsToShares2/shareAccessByID.feature @@ -2,8 +2,7 @@ Feature: share access by ID Background: - Given the administrator has set the default folder for received shares to "Shares" - And auto-accept shares has been disabled + Given auto-accept shares has been disabled And these users have been created with default attributes and without skeleton files: | username | | Alice | diff --git a/tests/acceptance/features/coreApiShareOperationsToShares2/uploadToShare.feature b/tests/acceptance/features/coreApiShareOperationsToShares2/uploadToShare.feature index 6772f5187..a827d51a3 100644 --- a/tests/acceptance/features/coreApiShareOperationsToShares2/uploadToShare.feature +++ b/tests/acceptance/features/coreApiShareOperationsToShares2/uploadToShare.feature @@ -2,8 +2,7 @@ Feature: sharing Background: - Given the administrator has set the default folder for received shares to "Shares" - And auto-accept shares has been disabled + Given auto-accept shares has been disabled And user "Alice" has been created with default attributes and without skeleton files diff --git a/tests/acceptance/features/coreApiSharePublicLink1/createPublicLinkShareToShares.feature b/tests/acceptance/features/coreApiSharePublicLink1/createPublicLinkShareToShares.feature index 5b6be9288..6f6891fad 100644 --- a/tests/acceptance/features/coreApiSharePublicLink1/createPublicLinkShareToShares.feature +++ b/tests/acceptance/features/coreApiSharePublicLink1/createPublicLinkShareToShares.feature @@ -2,8 +2,7 @@ Feature: create a public link share when share_folder is set to Shares Background: - Given the administrator has set the default folder for received shares to "Shares" - And auto-accept shares has been disabled + Given auto-accept shares has been disabled And user "Alice" has been created with default attributes and without skeleton files diff --git a/tests/acceptance/features/coreApiSharePublicLink3/updatePublicLinkShare.feature b/tests/acceptance/features/coreApiSharePublicLink3/updatePublicLinkShare.feature index 299961af9..4eb9ecff9 100644 --- a/tests/acceptance/features/coreApiSharePublicLink3/updatePublicLinkShare.feature +++ b/tests/acceptance/features/coreApiSharePublicLink3/updatePublicLinkShare.feature @@ -249,8 +249,7 @@ Feature: update a public link share Scenario Outline: Adding public upload to a read only shared folder as recipient is not allowed using the public API - Given the administrator has set the default folder for received shares to "Shares" - And auto-accept shares has been disabled + Given auto-accept shares has been disabled And using OCS API version "" And user "Brian" has been created with default attributes and without skeleton files And user "Alice" has created folder "/test" @@ -274,8 +273,7 @@ Feature: update a public link share Scenario Outline: Adding public upload to a shared folder as recipient is allowed with permissions using the public API - Given the administrator has set the default folder for received shares to "Shares" - And auto-accept shares has been disabled + Given auto-accept shares has been disabled And using OCS API version "" And user "Brian" has been created with default attributes and without skeleton files And user "Alice" has created folder "/test" @@ -299,8 +297,7 @@ Feature: update a public link share Scenario Outline: Adding public link with all permissions to a read only shared folder as recipient is not allowed using the public API - Given the administrator has set the default folder for received shares to "Shares" - And auto-accept shares has been disabled + Given auto-accept shares has been disabled And using OCS API version "" And user "Brian" has been created with default attributes and without skeleton files And user "Alice" has created folder "/test" @@ -324,8 +321,7 @@ Feature: update a public link share Scenario Outline: Adding public link with all permissions to a read only shared folder as recipient is allowed with permissions using the public API - Given the administrator has set the default folder for received shares to "Shares" - And auto-accept shares has been disabled + Given auto-accept shares has been disabled And using OCS API version "" And user "Brian" has been created with default attributes and without skeleton files And user "Alice" has created folder "/test" diff --git a/tests/acceptance/features/coreApiShareReshareToShares1/reShare.feature b/tests/acceptance/features/coreApiShareReshareToShares1/reShare.feature index 17b615b79..35afed637 100644 --- a/tests/acceptance/features/coreApiShareReshareToShares1/reShare.feature +++ b/tests/acceptance/features/coreApiShareReshareToShares1/reShare.feature @@ -2,8 +2,7 @@ Feature: sharing Background: - Given the administrator has set the default folder for received shares to "Shares" - And auto-accept shares has been disabled + Given auto-accept shares has been disabled And these users have been created with default attributes and without skeleton files: | username | | Alice | diff --git a/tests/acceptance/features/coreApiShareReshareToShares2/reShareChain.feature b/tests/acceptance/features/coreApiShareReshareToShares2/reShareChain.feature index 56aa33527..91cb28593 100644 --- a/tests/acceptance/features/coreApiShareReshareToShares2/reShareChain.feature +++ b/tests/acceptance/features/coreApiShareReshareToShares2/reShareChain.feature @@ -2,8 +2,7 @@ Feature: resharing can be done on a reshared resource Background: - Given the administrator has set the default folder for received shares to "Shares" - And auto-accept shares has been disabled + Given auto-accept shares has been disabled And these users have been created with default attributes and without skeleton files: | username | | Alice | diff --git a/tests/acceptance/features/coreApiShareReshareToShares2/reShareDisabled.feature b/tests/acceptance/features/coreApiShareReshareToShares2/reShareDisabled.feature index 54e43bc2e..f02f45637 100644 --- a/tests/acceptance/features/coreApiShareReshareToShares2/reShareDisabled.feature +++ b/tests/acceptance/features/coreApiShareReshareToShares2/reShareDisabled.feature @@ -2,8 +2,7 @@ Feature: resharing can be disabled Background: - Given the administrator has set the default folder for received shares to "Shares" - And auto-accept shares has been disabled + Given auto-accept shares has been disabled And these users have been created with default attributes and without skeleton files: | username | | Alice | diff --git a/tests/acceptance/features/coreApiShareReshareToShares2/reShareSubfolder.feature b/tests/acceptance/features/coreApiShareReshareToShares2/reShareSubfolder.feature index 326aaf8e1..0edde5e9f 100644 --- a/tests/acceptance/features/coreApiShareReshareToShares2/reShareSubfolder.feature +++ b/tests/acceptance/features/coreApiShareReshareToShares2/reShareSubfolder.feature @@ -2,8 +2,7 @@ Feature: a subfolder of a received share can be reshared Background: - Given the administrator has set the default folder for received shares to "Shares" - And auto-accept shares has been disabled + Given auto-accept shares has been disabled And these users have been created with default attributes and without skeleton files: | username | | Alice | diff --git a/tests/acceptance/features/coreApiShareReshareToShares3/reShareUpdate.feature b/tests/acceptance/features/coreApiShareReshareToShares3/reShareUpdate.feature index d8447d453..f6cb99be9 100644 --- a/tests/acceptance/features/coreApiShareReshareToShares3/reShareUpdate.feature +++ b/tests/acceptance/features/coreApiShareReshareToShares3/reShareUpdate.feature @@ -2,8 +2,7 @@ Feature: sharing Background: - Given the administrator has set the default folder for received shares to "Shares" - And auto-accept shares has been disabled + Given auto-accept shares has been disabled And these users have been created with default attributes and without skeleton files: | username | | Alice | diff --git a/tests/acceptance/features/coreApiShareReshareToShares3/reShareWithExpiryDate.feature b/tests/acceptance/features/coreApiShareReshareToShares3/reShareWithExpiryDate.feature index 018f239bd..fc7a90796 100644 --- a/tests/acceptance/features/coreApiShareReshareToShares3/reShareWithExpiryDate.feature +++ b/tests/acceptance/features/coreApiShareReshareToShares3/reShareWithExpiryDate.feature @@ -2,8 +2,7 @@ Feature: resharing a resource with an expiration date Background: - Given the administrator has set the default folder for received shares to "Shares" - And auto-accept shares has been disabled + Given auto-accept shares has been disabled And these users have been created with default attributes and without skeleton files: | username | | Alice | diff --git a/tests/acceptance/features/coreApiShareUpdateToShares/updateShare.feature b/tests/acceptance/features/coreApiShareUpdateToShares/updateShare.feature index 37976edc4..02b8925bd 100644 --- a/tests/acceptance/features/coreApiShareUpdateToShares/updateShare.feature +++ b/tests/acceptance/features/coreApiShareUpdateToShares/updateShare.feature @@ -2,8 +2,7 @@ Feature: sharing Background: - Given the administrator has set the default folder for received shares to "Shares" - And auto-accept shares has been disabled + Given auto-accept shares has been disabled And using OCS API version "1" And user "Alice" has been created with default attributes and without skeleton files diff --git a/tests/acceptance/features/coreApiShareUpdateToShares/updateShareGroupAndUserWithSameName.feature b/tests/acceptance/features/coreApiShareUpdateToShares/updateShareGroupAndUserWithSameName.feature index 090d8c2f3..e110d05af 100644 --- a/tests/acceptance/features/coreApiShareUpdateToShares/updateShareGroupAndUserWithSameName.feature +++ b/tests/acceptance/features/coreApiShareUpdateToShares/updateShareGroupAndUserWithSameName.feature @@ -2,8 +2,7 @@ Feature: updating shares to users and groups that have the same name Background: - Given the administrator has set the default folder for received shares to "Shares" - And auto-accept shares has been disabled + Given auto-accept shares has been disabled And these users have been created with default attributes and without skeleton files: | username | | Alice | diff --git a/tests/acceptance/features/coreApiTrashbin/trashbinSharingToShares.feature b/tests/acceptance/features/coreApiTrashbin/trashbinSharingToShares.feature index 104de3fc5..09fc41e8e 100644 --- a/tests/acceptance/features/coreApiTrashbin/trashbinSharingToShares.feature +++ b/tests/acceptance/features/coreApiTrashbin/trashbinSharingToShares.feature @@ -2,8 +2,7 @@ Feature: using trashbin together with sharing Background: - Given the administrator has set the default folder for received shares to "Shares" - And auto-accept shares has been disabled + Given auto-accept shares has been disabled And user "Alice" has been created with default attributes and without skeleton files And user "Alice" has uploaded file with content "file to delete" to "/textfile0.txt" diff --git a/tests/acceptance/features/coreApiWebdavEtagPropagation1/deleteFileFolder.feature b/tests/acceptance/features/coreApiWebdavEtagPropagation1/deleteFileFolder.feature index 8f37b93a4..c3aed4fbc 100644 --- a/tests/acceptance/features/coreApiWebdavEtagPropagation1/deleteFileFolder.feature +++ b/tests/acceptance/features/coreApiWebdavEtagPropagation1/deleteFileFolder.feature @@ -3,7 +3,6 @@ Feature: propagation of etags when deleting a file or folder Background: Given user "Alice" has been created with default attributes and without skeleton files - And the administrator has set the default folder for received shares to "Shares" And parameter "shareapi_auto_accept_share" of app "core" has been set to "no" And user "Alice" has created folder "/upload" @@ -148,7 +147,6 @@ Feature: propagation of etags when deleting a file or folder @issue-product-280 Scenario Outline: as share receiver deleting a folder changes the etags of all parents for all collaborators Given user "Brian" has been created with default attributes and without skeleton files - And the administrator has set the default folder for received shares to "Shares" And parameter "shareapi_auto_accept_share" of app "core" has been set to "no" And using DAV path And user "Alice" has created folder "/upload/sub" @@ -181,7 +179,6 @@ Feature: propagation of etags when deleting a file or folder @issue-product-280 Scenario Outline: as sharer deleting a folder changes the etags of all parents for all collaborators Given user "Brian" has been created with default attributes and without skeleton files - And the administrator has set the default folder for received shares to "Shares" And parameter "shareapi_auto_accept_share" of app "core" has been set to "no" And using DAV path And user "Alice" has created folder "/upload/sub" diff --git a/tests/acceptance/features/coreApiWebdavEtagPropagation1/moveFileFolder.feature b/tests/acceptance/features/coreApiWebdavEtagPropagation1/moveFileFolder.feature index bd9b3a9f4..2da76c5ae 100644 --- a/tests/acceptance/features/coreApiWebdavEtagPropagation1/moveFileFolder.feature +++ b/tests/acceptance/features/coreApiWebdavEtagPropagation1/moveFileFolder.feature @@ -157,7 +157,6 @@ Feature: propagation of etags when moving files or folders Scenario Outline: as share receiver renaming a file inside a folder changes its etag for all collaborators Given user "Brian" has been created with default attributes and without skeleton files - And the administrator has set the default folder for received shares to "Shares" And parameter "shareapi_auto_accept_share" of app "core" has been set to "no" And using DAV path And user "Alice" has created folder "/upload" @@ -186,7 +185,6 @@ Feature: propagation of etags when moving files or folders Scenario Outline: as sharer renaming a file inside a folder changes its etag for all collaborators Given user "Brian" has been created with default attributes and without skeleton files - And the administrator has set the default folder for received shares to "Shares" And parameter "shareapi_auto_accept_share" of app "core" has been set to "no" And using DAV path And user "Alice" has created folder "/upload" @@ -215,7 +213,6 @@ Feature: propagation of etags when moving files or folders @issue-product-280 Scenario Outline: as sharer moving a file from one folder to an other changes the etags of both folders for all collaborators Given user "Brian" has been created with default attributes and without skeleton files - And the administrator has set the default folder for received shares to "Shares" And parameter "shareapi_auto_accept_share" of app "core" has been set to "no" And using DAV path And user "Alice" has created folder "/src" @@ -251,7 +248,6 @@ Feature: propagation of etags when moving files or folders Scenario Outline: as share receiver moving a file from one folder to an other changes the etags of both folders for all collaborators Given user "Brian" has been created with default attributes and without skeleton files - And the administrator has set the default folder for received shares to "Shares" And parameter "shareapi_auto_accept_share" of app "core" has been set to "no" And using DAV path And user "Alice" has created folder "/src" @@ -287,7 +283,6 @@ Feature: propagation of etags when moving files or folders @issue-product-280 Scenario Outline: as sharer moving a folder from one folder to an other changes the etags of both folders for all collaborators Given user "Brian" has been created with default attributes and without skeleton files - And the administrator has set the default folder for received shares to "Shares" And parameter "shareapi_auto_accept_share" of app "core" has been set to "no" And using DAV path And user "Alice" has created folder "/src" @@ -323,7 +318,6 @@ Feature: propagation of etags when moving files or folders Scenario Outline: as share receiver moving a folder from one folder to an other changes the etags of both folders for all collaborators Given user "Brian" has been created with default attributes and without skeleton files - And the administrator has set the default folder for received shares to "Shares" And parameter "shareapi_auto_accept_share" of app "core" has been set to "no" And using DAV path And user "Alice" has created folder "/src" diff --git a/tests/acceptance/features/coreApiWebdavEtagPropagation2/copyFileFolder.feature b/tests/acceptance/features/coreApiWebdavEtagPropagation2/copyFileFolder.feature index 0d2be5381..5d7777aea 100644 --- a/tests/acceptance/features/coreApiWebdavEtagPropagation2/copyFileFolder.feature +++ b/tests/acceptance/features/coreApiWebdavEtagPropagation2/copyFileFolder.feature @@ -154,7 +154,6 @@ Feature: propagation of etags when copying files or folders Scenario Outline: as share receiver copying a file inside a folder changes its etag for all collaborators Given user "Brian" has been created with default attributes and without skeleton files - And the administrator has set the default folder for received shares to "Shares" And parameter "shareapi_auto_accept_share" of app "core" has been set to "no" And using DAV path And user "Alice" has created folder "/upload" @@ -193,7 +192,6 @@ Feature: propagation of etags when copying files or folders @issue-product-280 Scenario Outline: as sharer copying a file inside a folder changes its etag for all collaborators Given user "Brian" has been created with default attributes and without skeleton files - And the administrator has set the default folder for received shares to "Shares" And parameter "shareapi_auto_accept_share" of app "core" has been set to "no" And using DAV path And user "Alice" has created folder "/upload" diff --git a/tests/acceptance/features/coreApiWebdavEtagPropagation2/createFolder.feature b/tests/acceptance/features/coreApiWebdavEtagPropagation2/createFolder.feature index c907fb2f9..a0daf67f5 100644 --- a/tests/acceptance/features/coreApiWebdavEtagPropagation2/createFolder.feature +++ b/tests/acceptance/features/coreApiWebdavEtagPropagation2/createFolder.feature @@ -3,7 +3,6 @@ Feature: propagation of etags when creating folders Background: Given user "Alice" has been created with default attributes and without skeleton files - And the administrator has set the default folder for received shares to "Shares" And parameter "shareapi_auto_accept_share" of app "core" has been set to "no" @issue-product-280 diff --git a/tests/acceptance/features/coreApiWebdavEtagPropagation2/upload.feature b/tests/acceptance/features/coreApiWebdavEtagPropagation2/upload.feature index c9c96a68d..561d3f11e 100644 --- a/tests/acceptance/features/coreApiWebdavEtagPropagation2/upload.feature +++ b/tests/acceptance/features/coreApiWebdavEtagPropagation2/upload.feature @@ -3,7 +3,6 @@ Feature: propagation of etags when uploading data Background: Given user "Alice" has been created with default attributes and without skeleton files - And the administrator has set the default folder for received shares to "Shares" And parameter "shareapi_auto_accept_share" of app "core" has been set to "no" And user "Alice" has created folder "/upload" diff --git a/tests/acceptance/features/coreApiWebdavLocks2/independentLocksShareToShares.feature b/tests/acceptance/features/coreApiWebdavLocks2/independentLocksShareToShares.feature index 10c4528e1..33203a75e 100644 --- a/tests/acceptance/features/coreApiWebdavLocks2/independentLocksShareToShares.feature +++ b/tests/acceptance/features/coreApiWebdavLocks2/independentLocksShareToShares.feature @@ -3,8 +3,7 @@ Feature: independent locks Make sure all locks are independent and don't interact with other items that have the same name Background: - Given the administrator has set the default folder for received shares to "Shares" - And auto-accept shares has been disabled + Given auto-accept shares has been disabled And user "Alice" has been created with default attributes and without skeleton files And user "Brian" has been created with default attributes and without skeleton files diff --git a/tests/acceptance/features/coreApiWebdavLocksUnlock/unlockSharingToShares.feature b/tests/acceptance/features/coreApiWebdavLocksUnlock/unlockSharingToShares.feature index 6061083fb..5cee937e6 100644 --- a/tests/acceptance/features/coreApiWebdavLocksUnlock/unlockSharingToShares.feature +++ b/tests/acceptance/features/coreApiWebdavLocksUnlock/unlockSharingToShares.feature @@ -2,8 +2,7 @@ Feature: UNLOCK locked items (sharing) Background: - Given the administrator has set the default folder for received shares to "Shares" - And auto-accept shares has been disabled + Given auto-accept shares has been disabled And these users have been created with default attributes and without skeleton files: | username | | Alice | diff --git a/tests/acceptance/features/coreApiWebdavPreviews/previews.feature b/tests/acceptance/features/coreApiWebdavPreviews/previews.feature index cb59a22c4..6f3573268 100644 --- a/tests/acceptance/features/coreApiWebdavPreviews/previews.feature +++ b/tests/acceptance/features/coreApiWebdavPreviews/previews.feature @@ -79,8 +79,7 @@ Feature: previews of files downloaded through the webdav API Scenario: download previews of shared files (to shares folder) - Given the administrator has set the default folder for received shares to "Shares" - And auto-accept shares has been disabled + Given auto-accept shares has been disabled And user "Brian" has been created with default attributes and without skeleton files And user "Alice" has uploaded file "filesForUpload/lorem.txt" to "/parent.txt" And user "Alice" has shared file "/parent.txt" with user "Brian" @@ -177,8 +176,7 @@ Feature: previews of files downloaded through the webdav API @issue-ocis-2538 Scenario: when owner updates a shared file, previews for sharee are also updated (to shared folder) - Given the administrator has set the default folder for received shares to "Shares" - And auto-accept shares has been disabled + Given auto-accept shares has been disabled And user "Brian" has been created with default attributes and without skeleton files And user "Alice" has uploaded file "filesForUpload/lorem.txt" to "/parent.txt" And user "Alice" has shared file "/parent.txt" with user "Brian" @@ -199,8 +197,7 @@ Feature: previews of files downloaded through the webdav API Scenario: updates to a file should change the preview for both sharees and sharers - Given the administrator has set the default folder for received shares to "Shares" - And auto-accept shares has been disabled + Given auto-accept shares has been disabled And user "Brian" has been created with default attributes and without skeleton files And user "Alice" has created folder "FOLDER" And user "Alice" has uploaded file with content "file to upload" to "/FOLDER/lorem.txt" @@ -219,8 +216,7 @@ Feature: previews of files downloaded through the webdav API Scenario: updates to a group shared file should change the preview for both sharees and sharers - Given the administrator has set the default folder for received shares to "Shares" - And auto-accept shares has been disabled + Given auto-accept shares has been disabled And group "grp1" has been created And user "Brian" has been created with default attributes and without skeleton files And user "Carol" has been created with default attributes and without skeleton files diff --git a/tests/acceptance/features/coreApiWebdavProperties1/copyFile.feature b/tests/acceptance/features/coreApiWebdavProperties1/copyFile.feature index 72ce580e5..c64d25667 100644 --- a/tests/acceptance/features/coreApiWebdavProperties1/copyFile.feature +++ b/tests/acceptance/features/coreApiWebdavProperties1/copyFile.feature @@ -6,7 +6,6 @@ Feature: copy file Background: Given using OCS API version "1" - And the administrator has set the default folder for received shares to "Shares" And auto-accept shares has been disabled And user "Alice" has been created with default attributes and without skeleton files And user "Alice" has uploaded file with content "ownCloud test text file 0" to "/textfile0.txt" diff --git a/tests/acceptance/features/coreApiWebdavProperties1/createFileFolderWhenSharesExist.feature b/tests/acceptance/features/coreApiWebdavProperties1/createFileFolderWhenSharesExist.feature index 39460125c..949f42e54 100644 --- a/tests/acceptance/features/coreApiWebdavProperties1/createFileFolderWhenSharesExist.feature +++ b/tests/acceptance/features/coreApiWebdavProperties1/createFileFolderWhenSharesExist.feature @@ -5,8 +5,7 @@ Feature: create file or folder named similar to Shares folder So that I can organise the files in my file system Background: - Given the administrator has set the default folder for received shares to "Shares" - And auto-accept shares has been disabled + Given auto-accept shares has been disabled And these users have been created with default attributes and without skeleton files: | username | | Alice | diff --git a/tests/acceptance/features/coreApiWebdavUploadTUS/uploadFileMtimeShares.feature b/tests/acceptance/features/coreApiWebdavUploadTUS/uploadFileMtimeShares.feature index 24772cfa4..9ba7357d7 100644 --- a/tests/acceptance/features/coreApiWebdavUploadTUS/uploadFileMtimeShares.feature +++ b/tests/acceptance/features/coreApiWebdavUploadTUS/uploadFileMtimeShares.feature @@ -5,8 +5,7 @@ Feature: upload file So that I can find files by their real creation date Background: - Given the administrator has set the default folder for received shares to "Shares" - And auto-accept shares has been disabled + Given auto-accept shares has been disabled And these users have been created with default attributes and without skeleton files: | username | | Alice | diff --git a/tests/acceptance/features/coreApiWebdavUploadTUS/uploadToNonExistingFolder.feature b/tests/acceptance/features/coreApiWebdavUploadTUS/uploadToNonExistingFolder.feature index 22fcf5d38..02b59654e 100644 --- a/tests/acceptance/features/coreApiWebdavUploadTUS/uploadToNonExistingFolder.feature +++ b/tests/acceptance/features/coreApiWebdavUploadTUS/uploadToNonExistingFolder.feature @@ -6,7 +6,6 @@ Feature: upload file Background: Given using OCS API version "1" - And the administrator has set the default folder for received shares to "Shares" And user "Alice" has been created with default attributes and without skeleton files diff --git a/tests/acceptance/features/coreApiWebdavUploadTUS/uploadToShare.feature b/tests/acceptance/features/coreApiWebdavUploadTUS/uploadToShare.feature index 6e60e4a5b..a4ac05205 100644 --- a/tests/acceptance/features/coreApiWebdavUploadTUS/uploadToShare.feature +++ b/tests/acceptance/features/coreApiWebdavUploadTUS/uploadToShare.feature @@ -3,8 +3,7 @@ Feature: upload file to shared folder Background: - Given the administrator has set the default folder for received shares to "Shares" - And auto-accept shares has been disabled + Given auto-accept shares has been disabled And these users have been created with default attributes and without skeleton files: | username | | Alice | diff --git a/tests/parallelDeployAcceptance/features/apiShareManagement/acceptShares.feature b/tests/parallelDeployAcceptance/features/apiShareManagement/acceptShares.feature index 491743d61..70555cc4e 100644 --- a/tests/parallelDeployAcceptance/features/apiShareManagement/acceptShares.feature +++ b/tests/parallelDeployAcceptance/features/apiShareManagement/acceptShares.feature @@ -7,7 +7,6 @@ Feature: sharing files and folders Background: Given using "oc10" as owncloud selector - And the administrator has set the default folder for received shares to "Shares" And auto-accept shares has been disabled And using OCS API version "1" And using new DAV path @@ -24,4 +23,4 @@ Feature: sharing files and folders And the HTTP status code should be "200" And the sharing API should report to user "Brian" that these shares are in the accepted state | path | - | /Shares/textfile.txt | \ No newline at end of file + | /Shares/textfile.txt |