Skip to content

Commit

Permalink
Allow the posix storage driver in the tests
Browse files Browse the repository at this point in the history
  • Loading branch information
aduffeck committed May 8, 2024
1 parent 5e7a633 commit 025acea
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/TestHelpers/OcisHelper.php
Original file line number Diff line number Diff line change
Expand Up @@ -68,10 +68,10 @@ public static function getStorageDriver():string {
return "OWNCLOUD";
}
$storageDriver = \strtoupper($storageDriver);
if ($storageDriver !== "OCIS" && $storageDriver !== "EOS" && $storageDriver !== "OWNCLOUD" && $storageDriver !== "S3NG") {
if ($storageDriver !== "OCIS" && $storageDriver !== "EOS" && $storageDriver !== "OWNCLOUD" && $storageDriver !== "S3NG" && $storageDriver !== "POSIX") {
throw new Exception(
"Invalid storage driver. " .
"STORAGE_DRIVER must be OCIS|EOS|OWNCLOUD|S3NG"
"STORAGE_DRIVER must be OCIS|EOS|OWNCLOUD|S3NG|POSIX"
);
}
return $storageDriver;
Expand Down

0 comments on commit 025acea

Please sign in to comment.