We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e396506 commit 0d3ab67Copy full SHA for 0d3ab67
run-tests.php
@@ -1764,7 +1764,7 @@ function run_worker(): void
1764
"type" => "tests_finished",
1765
"junit" => $junit->isEnabled() ? $junit : null,
1766
]);
1767
- //junit_init(); TODO is this needed?
+ $junit->clear();
1768
break;
1769
default:
1770
send_message($workerSock, [
@@ -3468,6 +3468,12 @@ public function isEnabled(): bool
3468
return $this->enabled;
3469
}
3470
3471
+ public function clear(): void
3472
+ {
3473
+ $this->rootSuite = self::EMPTY_SUITE + ['name' => 'php'];
3474
+ $this->suites = [];
3475
+ }
3476
+
3477
public function saveXML(): void
3478
{
3479
if (!$this->enabled) {
0 commit comments