From a1970fab52809bb1f10824212d021c3d818b96f3 Mon Sep 17 00:00:00 2001 From: Joas Schilling Date: Mon, 30 Sep 2024 09:50:39 +0200 Subject: [PATCH] tests: Remove non-applicable tests Signed-off-by: Joas Schilling --- tests/Unit/StorageWrapperTest.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tests/Unit/StorageWrapperTest.php b/tests/Unit/StorageWrapperTest.php index a6715e1..204232d 100644 --- a/tests/Unit/StorageWrapperTest.php +++ b/tests/Unit/StorageWrapperTest.php @@ -64,7 +64,9 @@ public static function dataSinglePath(): array { $tests = []; foreach ($methods as $method) { - $tests[] = [$method, 'path1', true, null]; + if ($method !== 'file_get_contents' && $method !== 'getDirectDownload') { + $tests[] = [$method, 'path1', true, null]; + } $tests[] = [$method, 'path2', false, null]; $tests[] = [$method, 'path3', true, new ForbiddenException('Access denied', false)]; $tests[] = [$method, 'path4', false, new ForbiddenException('Access denied', false)];