File tree Expand file tree Collapse file tree 1 file changed +1
-3
lines changed Expand file tree Collapse file tree 1 file changed +1
-3
lines changed Original file line number Diff line number Diff line change @@ -379,15 +379,13 @@ public static function provideIndexManagementTests(): Generator
379
379
yield from self ::provideTests ('index-management/tests ' , 'index-management ' );
380
380
}
381
381
382
- private static function provideTests (string $ directory , ? string $ group = null ): Generator
382
+ private static function provideTests (string $ directory , string $ testGroup ): Generator
383
383
{
384
384
$ pattern = self ::$ testDir . '/ ' . $ directory . '/*.json ' ;
385
385
386
386
$ duplicateTests = array_flip (self ::$ duplicateTests );
387
387
388
388
foreach (glob ($ pattern ) as $ filename ) {
389
- $ testGroup = $ group ?? dirname (basename ($ filename ));
390
-
391
389
foreach (UnifiedTestCase::fromFile ($ filename ) as $ name => $ test ) {
392
390
$ testKey = $ testGroup . '/ ' . $ name ;
393
391
You can’t perform that action at this time.
0 commit comments