From 0b95d68f716e7131c057d114b49b986fe2278519 Mon Sep 17 00:00:00 2001 From: Alex Pott <alex.a.pott@googlemail.com> Date: Sun, 23 Jun 2019 12:32:48 +0100 Subject: [PATCH] Issue #2870145 by valthebald, jibran, tstoeckler, alexpott, vijaycs85, larowlan: Set printerClass in phpunit.xml.dist --- core/phpunit.xml.dist | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) diff --git a/core/phpunit.xml.dist b/core/phpunit.xml.dist index 4f81a2d5333e..36b04b771a20 100644 --- a/core/phpunit.xml.dist +++ b/core/phpunit.xml.dist @@ -8,15 +8,8 @@ <phpunit bootstrap="tests/bootstrap.php" colors="true" beStrictAboutTestsThatDoNotTestAnything="true" beStrictAboutOutputDuringTests="true" - beStrictAboutChangesToGlobalState="true"> -<!-- TODO set printerClass="\Drupal\Tests\Listeners\HtmlOutputPrinter" once - https://youtrack.jetbrains.com/issue/WI-24808 is resolved. Drupal provides a - result printer that links to the html output results for functional tests. - Unfortunately, this breaks the output of PHPStorm's PHPUnit runner. However, if - using the command line you can add - - -printer="\Drupal\Tests\Listeners\HtmlOutputPrinter" to use it (note there - should be no spaces between the hyphens). ---> + beStrictAboutChangesToGlobalState="true" + printerClass="\Drupal\Tests\Listeners\HtmlOutputPrinter"> <php> <!-- Set error reporting to E_ALL. --> <ini name="error_reporting" value="32767"/> -- GitLab