Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit aee6adf

Browse files
minor #49278 Remove unused data provider (OskarStark)
This PR was merged into the 5.4 branch. Discussion ---------- Remove unused data provider | Q | A | ------------- | --- | Branch? | 5.4 | Bug fix? | no | New feature? | no | Deprecations? | no | Tickets | Refs https://github.com/symfony/symfony/pull/48668/files#r1098456404 | License | MIT | Doc PR | - Commits ------- 492fe4a Remove unused data provider
2 parents 63136e4 + 492fe4a commit aee6adf

File tree

1 file changed

+0
-19
lines changed

1 file changed

+0
-19
lines changed

src/Symfony/Component/Filesystem/Tests/PathTest.php

Lines changed: 0 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -439,25 +439,6 @@ public function testGetRoot(string $path, string $root)
439439
$this->assertSame($root, Path::getRoot($path));
440440
}
441441

442-
public function providePathTests(): \Generator
443-
{
444-
// relative to absolute path
445-
yield ['css/style.css', '/webmozart/symfony', '/webmozart/symfony/css/style.css'];
446-
yield ['../css/style.css', '/webmozart/symfony', '/webmozart/css/style.css'];
447-
yield ['../../css/style.css', '/webmozart/symfony', '/css/style.css'];
448-
449-
// relative to root
450-
yield ['css/style.css', '/', '/css/style.css'];
451-
yield ['css/style.css', 'C:', 'C:/css/style.css'];
452-
yield ['css/style.css', 'C:/', 'C:/css/style.css'];
453-
454-
// same sub directories in different base directories
455-
yield ['../../symfony/css/style.css', '/webmozart/css', '/symfony/css/style.css'];
456-
457-
yield ['', '/webmozart/symfony', '/webmozart/symfony'];
458-
yield ['..', '/webmozart/symfony', '/webmozart'];
459-
}
460-
461442
private static function getPathTests(): \Generator
462443
{
463444
yield from [

0 commit comments

Comments
 (0)