Removed step and implementation setting default share folder
This commit is contained in:
@@ -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
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user