mirror of
https://github.com/opencloud-eu/opencloud.git
synced 2026-07-19 20:14:17 -04:00
skip spacecontext subsitutions for reva (#8422)
This commit is contained in:
@@ -2880,16 +2880,22 @@ class FeatureContext extends BehatVariablesContext {
|
||||
"function" =>
|
||||
[$this, "getGroupIdByGroupName"],
|
||||
"parameter" => [$group]
|
||||
],
|
||||
[
|
||||
"code" => "%shares_drive_id%",
|
||||
"function" => [
|
||||
$this->spacesContext,
|
||||
"getSpaceIdByName"
|
||||
],
|
||||
"parameter" => [$user, "Shares"]
|
||||
]
|
||||
);
|
||||
|
||||
if (!OcisHelper::isTestingOnReva()) {
|
||||
array_push(
|
||||
$substitutions,
|
||||
[
|
||||
"code" => "%shares_drive_id%",
|
||||
"function" => [
|
||||
$this->spacesContext,
|
||||
"getSpaceIdByName"
|
||||
],
|
||||
"parameter" => [$user, "Shares"]
|
||||
]
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
if (!empty($additionalSubstitutions)) {
|
||||
|
||||
Reference in New Issue
Block a user