From b96fce05806632cbe02054661f3d520e43dbd5ec Mon Sep 17 00:00:00 2001 From: Jakob Givoni Date: Wed, 12 Feb 2025 15:43:50 +0100 Subject: [PATCH] cleanup a @todo --- tests/CacheAdapter_Test.php | 32 -------------------------------- 1 file changed, 32 deletions(-) diff --git a/tests/CacheAdapter_Test.php b/tests/CacheAdapter_Test.php index fc925fa..7dcf4d0 100644 --- a/tests/CacheAdapter_Test.php +++ b/tests/CacheAdapter_Test.php @@ -18,36 +18,4 @@ protected static function createFilesystemAdapter(): FilesystemAdapter return new CacheAdapter($fileSystemAdapter, $cache); } - - /** - * @test - * @dataProvider filenameProvider2 - */ - public function writing_and_reading_files_with_special_path(string $path): void - { - parent::writing_and_reading_files_with_special_path($path); - } - - /** - * "Override" function from parent which is not static and thus incompatible with phpunit 10 - * @todo Remove when https://github.com/thephpleague/flysystem-adapter-test-utilities/commit/bf4c950b176bbefcc49c443cdab1ffb62a9fef5c is tagged (version >= 3.16?) - * @return Generator - */ - public static function filenameProvider2(): Generator - { - yield "a path with square brackets in filename 1" => ["some/file[name].txt"]; - yield "a path with square brackets in filename 2" => ["some/file[0].txt"]; - yield "a path with square brackets in filename 3" => ["some/file[10].txt"]; - yield "a path with square brackets in dirname 1" => ["some[name]/file.txt"]; - yield "a path with square brackets in dirname 2" => ["some[0]/file.txt"]; - yield "a path with square brackets in dirname 3" => ["some[10]/file.txt"]; - yield "a path with curly brackets in filename 1" => ["some/file{name}.txt"]; - yield "a path with curly brackets in filename 2" => ["some/file{0}.txt"]; - yield "a path with curly brackets in filename 3" => ["some/file{10}.txt"]; - yield "a path with curly brackets in dirname 1" => ["some{name}/filename.txt"]; - yield "a path with curly brackets in dirname 2" => ["some{0}/filename.txt"]; - yield "a path with curly brackets in dirname 3" => ["some{10}/filename.txt"]; - yield "a path with space in dirname" => ["some dir/filename.txt"]; - yield "a path with space in filename" => ["somedir/file name.txt"]; - } }