mirror of
https://github.com/owncloud/ocis
synced 2026-04-25 17:25:21 +02:00
refactor: add space related lint rules
Signed-off-by: Saw-jan <saw.jan.grg3e@gmail.com>
This commit is contained in:
@@ -64,7 +64,7 @@ class OcisConfigContext implements Context {
|
||||
"POSTPROCESSING_DELAY" => $delayTime . "s",
|
||||
];
|
||||
|
||||
$response = OcisConfigHelper::reConfigureOcis($envs);
|
||||
$response = OcisConfigHelper::reConfigureOcis($envs);
|
||||
Assert::assertEquals(
|
||||
200,
|
||||
$response->getStatusCode(),
|
||||
@@ -86,7 +86,7 @@ class OcisConfigContext implements Context {
|
||||
$configVariable => $configValue,
|
||||
];
|
||||
|
||||
$response = OcisConfigHelper::reConfigureOcis($envs);
|
||||
$response = OcisConfigHelper::reConfigureOcis($envs);
|
||||
Assert::assertEquals(
|
||||
200,
|
||||
$response->getStatusCode(),
|
||||
@@ -111,7 +111,7 @@ class OcisConfigContext implements Context {
|
||||
$envs = [
|
||||
"GRAPH_AVAILABLE_ROLES" => implode(',', $defaultRoles),
|
||||
];
|
||||
$response = OcisConfigHelper::reConfigureOcis($envs);
|
||||
$response = OcisConfigHelper::reConfigureOcis($envs);
|
||||
Assert::assertEquals(
|
||||
200,
|
||||
$response->getStatusCode(),
|
||||
@@ -137,7 +137,7 @@ class OcisConfigContext implements Context {
|
||||
$envs = [
|
||||
"GRAPH_AVAILABLE_ROLES" => implode(',', $availableRoles),
|
||||
];
|
||||
$response = OcisConfigHelper::reConfigureOcis($envs);
|
||||
$response = OcisConfigHelper::reConfigureOcis($envs);
|
||||
Assert::assertEquals(
|
||||
200,
|
||||
$response->getStatusCode(),
|
||||
@@ -157,7 +157,7 @@ class OcisConfigContext implements Context {
|
||||
*/
|
||||
public function theConfigHasBeenSetPathTo(string $configVariable, string $path): void {
|
||||
$path = \dirname(__FILE__) . "/../../" . $path;
|
||||
$response = OcisConfigHelper::reConfigureOcis(
|
||||
$response = OcisConfigHelper::reConfigureOcis(
|
||||
[
|
||||
$configVariable => $path,
|
||||
]
|
||||
@@ -183,7 +183,7 @@ class OcisConfigContext implements Context {
|
||||
$envs[$row['config']] = $row['value'];
|
||||
}
|
||||
|
||||
$response = OcisConfigHelper::reConfigureOcis($envs);
|
||||
$response = OcisConfigHelper::reConfigureOcis($envs);
|
||||
Assert::assertEquals(
|
||||
200,
|
||||
$response->getStatusCode(),
|
||||
@@ -209,7 +209,7 @@ class OcisConfigContext implements Context {
|
||||
$envs[$row['config']] = $row['value'];
|
||||
}
|
||||
|
||||
$response = OcisConfigHelper::startService($service, $envs);
|
||||
$response = OcisConfigHelper::startService($service, $envs);
|
||||
Assert::assertEquals(
|
||||
200,
|
||||
$response->getStatusCode(),
|
||||
|
||||
Reference in New Issue
Block a user