Skip to content

Commit 9bb8427

Browse files
authored
Merge pull request #1272 from paulbalandan/cs-dp-order
chore: fix data provider method order by cs-fix
2 parents 117d461 + ce0d4f9 commit 9bb8427

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

tests/Language/AbstractTranslationTestCase.php

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -352,6 +352,17 @@ final public function testAllLocalizationParametersAreNotTranslated(string $loca
352352
));
353353
}
354354

355+
#[DataProvider('localesProvider')]
356+
final public function testLocaleHasCorrespondingTestCaseFile(string $locale): void
357+
{
358+
$class = array_flip(self::$locales)[$locale];
359+
360+
$this->assertTrue(class_exists($class, false), sprintf(
361+
'Failed asserting that test class "%s" is existing.',
362+
$class,
363+
));
364+
}
365+
355366
/**
356367
* @return array<string, list<string>>
357368
*/
@@ -366,17 +377,6 @@ final public static function localesProvider(): iterable
366377
return [$locale => [$locale]];
367378
}
368379

369-
#[DataProvider('localesProvider')]
370-
final public function testLocaleHasCorrespondingTestCaseFile(string $locale): void
371-
{
372-
$class = array_flip(self::$locales)[$locale];
373-
374-
$this->assertTrue(class_exists($class, false), sprintf(
375-
'Failed asserting that test class "%s" is existing.',
376-
$class,
377-
));
378-
}
379-
380380
// -------------------------------------------------------------------------
381381
// UTILITIES
382382
// -------------------------------------------------------------------------

0 commit comments

Comments
 (0)