Skip to content

Commit 23069c3

Browse files
[Tests] Migrate tests to static data providers
1 parent cd85033 commit 23069c3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Tests/PathTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -462,7 +462,7 @@ private static function getPathTests(): \Generator
462462

463463
public function provideMakeAbsoluteTests(): \Generator
464464
{
465-
yield from static::getPathTests();
465+
yield from self::getPathTests();
466466

467467
// collapse dots
468468
yield ['css/./style.css', '/webmozart/symfony', '/webmozart/symfony/css/style.css'];
@@ -589,7 +589,7 @@ public function testMakeAbsoluteDoesNotFailIfDifferentRoot(string $basePath, str
589589

590590
public function provideMakeRelativeTests(): \Generator
591591
{
592-
foreach (static::getPathTests() as $set) {
592+
foreach (self::getPathTests() as $set) {
593593
yield [$set[2], $set[1], $set[0]];
594594
}
595595

0 commit comments

Comments
 (0)