File tree Expand file tree Collapse file tree 1 file changed +11
-11
lines changed Expand file tree Collapse file tree 1 file changed +11
-11
lines changed Original file line number Diff line number Diff 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 // -------------------------------------------------------------------------
You can’t perform that action at this time.
0 commit comments