From 025aceac57548ae4c623ae1bf37c879e9f966fb9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Duffeck?= Date: Tue, 7 May 2024 10:32:56 +0200 Subject: [PATCH] Allow the posix storage driver in the tests --- tests/TestHelpers/OcisHelper.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/TestHelpers/OcisHelper.php b/tests/TestHelpers/OcisHelper.php index 53120c209c5..980bbd03352 100644 --- a/tests/TestHelpers/OcisHelper.php +++ b/tests/TestHelpers/OcisHelper.php @@ -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;