Skip to content

Instantly share code, notes, and snippets.

@kimpepper
Created September 14, 2021 05:56
Show Gist options
  • Save kimpepper/541c2638dd6b11f4cece36a5a8576cce to your computer and use it in GitHub Desktop.
Save kimpepper/541c2638dd6b11f4cece36a5a8576cce to your computer and use it in GitHub Desktop.
diff --git a/src/Util/Log/TeamCity.php b/src/Util/Log/TeamCity.php
index 695760d95..460d5e35d 100644
--- a/src/Util/Log/TeamCity.php
+++ b/src/Util/Log/TeamCity.php
@@ -9,6 +9,8 @@
*/
namespace PHPUnit\Util\Log;
+use Drupal\Tests\Listeners\HtmlOutputPrinterTrait;
+
use function class_exists;
use function count;
use function explode;
@@ -44,6 +46,9 @@
*/
final class TeamCity extends ResultPrinter
{
+
+ use HtmlOutputPrinterTrait;
+
/**
* @var bool
*/
@@ -66,6 +71,7 @@ public function printResult(TestResult $result): void
{
$this->printHeader($result);
$this->printFooter($result);
+ $this->printHtmlOutput();
}
/**
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment