fix gherkin lint

This commit is contained in:
Viktor Scharf
2025-03-10 15:10:32 +01:00
parent ca729a23c2
commit 0db2145cef
9 changed files with 10 additions and 8 deletions
@@ -750,7 +750,9 @@ class FeatureContext extends BehatVariablesContext {
*/
public function getStorageUsersRoot(): string {
$ocDataPath = getenv("OC_BASE_DATA_PATH") ? getenv("OC_BASE_DATA_PATH") : getenv("HOME") . '/.opencloud';
return getenv("STORAGE_USERS_DECOMPOSED_ROOT") ? getenv("STORAGE_USERS_DECOMPOSED_ROOT") : $ocDataPath . "/storage/users";
return getenv("STORAGE_USERS_DECOMPOSED_ROOT")
? getenv("STORAGE_USERS_DECOMPOSED_ROOT")
: $ocDataPath . "/storage/users";
}
/**