Skip to content

Commit a115297

Browse files
committed
Changed BuildUnitTest in BuildPHPUnitClass
1 parent fc1c1d4 commit a115297

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

tests/BuildUnitTest.php renamed to tests/BuildPHPUnitClass.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
*
3030
* @link https://github.com/elastic/elasticsearch/tree/main/rest-api-spec/src/yamlRestTest/resources/rest-api-spec/test
3131
*/
32-
class BuildUnitTest
32+
class BuildPHPUnitClass
3333
{
3434
protected mixed $yaml;
3535

tests/build_es_tests.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414

1515
require 'vendor/autoload.php';
1616

17-
use Elastic\Elasticsearch\Tests\BuildUnitTest;
17+
use Elastic\Elasticsearch\Tests\BuildPHPUnitClass;
1818

1919
const TEST_TO_SKIP = 'test_to_skip.php';
2020

@@ -98,7 +98,7 @@ function normalizeName(string $item): string
9898
mkdir($unitTestFolder);
9999
}
100100
$namespace = $folderName === 'Tests' ? basename($outputFolder) : sprintf("%s\%s", basename($outputFolder), $folderName);
101-
$test = new BuildUnitTest($file->getPathname(), $testGroup, $namespace);
101+
$test = new BuildPHPUnitClass($file->getPathname(), $testGroup, $namespace);
102102
$unitTest = $test->build();
103103
if (empty($unitTest)) {
104104
printf("Skipped (not %s): %s\n", $testGroup, $file->getPathname());

0 commit comments

Comments
 (0)