diff --git a/Tests/PathTest.php b/Tests/PathTest.php index 3d0f2beb1..2f7a0a7a6 100644 --- a/Tests/PathTest.php +++ b/Tests/PathTest.php @@ -439,25 +439,6 @@ public function testGetRoot(string $path, string $root) $this->assertSame($root, Path::getRoot($path)); } - public function providePathTests(): \Generator - { - // relative to absolute path - yield ['css/style.css', '/webmozart/symfony', '/webmozart/symfony/css/style.css']; - yield ['../css/style.css', '/webmozart/symfony', '/webmozart/css/style.css']; - yield ['../../css/style.css', '/webmozart/symfony', '/css/style.css']; - - // relative to root - yield ['css/style.css', '/', '/css/style.css']; - yield ['css/style.css', 'C:', 'C:/css/style.css']; - yield ['css/style.css', 'C:/', 'C:/css/style.css']; - - // same sub directories in different base directories - yield ['../../symfony/css/style.css', '/webmozart/css', '/symfony/css/style.css']; - - yield ['', '/webmozart/symfony', '/webmozart/symfony']; - yield ['..', '/webmozart/symfony', '/webmozart']; - } - private static function getPathTests(): \Generator { yield from [