We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1ed6e95 commit 65357f4Copy full SHA for 65357f4
tests/UnifiedSpecTests/UnifiedSpecTest.php
@@ -379,15 +379,13 @@ public static function provideIndexManagementTests(): Generator
379
yield from self::provideTests('index-management/tests', 'index-management');
380
}
381
382
- private static function provideTests(string $directory, ?string $group = null): Generator
+ private static function provideTests(string $directory, string $testGroup): Generator
383
{
384
$pattern = self::$testDir . '/' . $directory . '/*.json';
385
386
$duplicateTests = array_flip(self::$duplicateTests);
387
388
foreach (glob($pattern) as $filename) {
389
- $testGroup = $group ?? dirname(basename($filename));
390
-
391
foreach (UnifiedTestCase::fromFile($filename) as $name => $test) {
392
$testKey = $testGroup . '/' . $name;
393
0 commit comments