mirror of
https://github.com/opencloud-eu/opencloud.git
synced 2026-05-08 04:20:59 -05:00
fix-get-attribute-test (#1974)
This commit is contained in:
@@ -904,7 +904,7 @@ class CliContext implements Context {
|
|||||||
$userUuid = $this->featureContext->getAttributeOfCreatedUser($user, 'id');
|
$userUuid = $this->featureContext->getAttributeOfCreatedUser($user, 'id');
|
||||||
$storagePath = $this->getUsersStoragePath();
|
$storagePath = $this->getUsersStoragePath();
|
||||||
$body = [
|
$body = [
|
||||||
"command" => "xattr -p -slz " . escapeshellarg($attribute) . " $storagePath/$userUuid/$file",
|
"command" => "getfattr -n " . escapeshellarg($attribute) . " --only-values $storagePath/$userUuid/$file",
|
||||||
"raw" => true
|
"raw" => true
|
||||||
];
|
];
|
||||||
$this->featureContext->setResponse(CliHelper::runCommand($body));
|
$this->featureContext->setResponse(CliHelper::runCommand($body));
|
||||||
|
|||||||
Reference in New Issue
Block a user