Skip to content

Commit

Permalink
[Tests] Migrate tests to static data providers
Browse files Browse the repository at this point in the history
  • Loading branch information
alexandre-daubois committed Feb 8, 2023
1 parent cd85033 commit 23069c3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Tests/PathTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -462,7 +462,7 @@ private static function getPathTests(): \Generator

public function provideMakeAbsoluteTests(): \Generator
{
yield from static::getPathTests();
yield from self::getPathTests();

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

public function provideMakeRelativeTests(): \Generator
{
foreach (static::getPathTests() as $set) {
foreach (self::getPathTests() as $set) {
yield [$set[2], $set[1], $set[0]];
}

Expand Down

0 comments on commit 23069c3

Please sign in to comment.