diff --git a/core/phpunit.xml.dist b/core/phpunit.xml.dist index 9bd97ca..8ac3765 100644 --- a/core/phpunit.xml.dist +++ b/core/phpunit.xml.dist @@ -16,6 +16,8 @@ + + diff --git a/core/tests/Drupal/Tests/Listeners/HtmlOutputPrinter.php b/core/tests/Drupal/Tests/Listeners/HtmlOutputPrinter.php index c73bb91..01f1205 100644 --- a/core/tests/Drupal/Tests/Listeners/HtmlOutputPrinter.php +++ b/core/tests/Drupal/Tests/Listeners/HtmlOutputPrinter.php @@ -11,15 +11,21 @@ */ class HtmlOutputPrinter extends \PHPUnit_TextUI_ResultPrinter { + /** + * Directory to retrieve html output from. + * + * @var string + */ protected $directory; + /** * {@inheritdoc} */ public function __construct($out, $verbose, $colors, $debug, $numberOfColumns) { parent::__construct($out, $verbose, $colors, $debug, $numberOfColumns); - if ($htmlOutput_directory = getenv('BROWSERTEST_OUTPUT_DIRECTORY')) { + if ($html_output_directory = getenv('BROWSERTEST_OUTPUT_DIRECTORY')) { // Initialize html output debugging. - $this->directory = rtrim($htmlOutput_directory, '/'); + $this->directory = rtrim($html_output_directory, '/'); // Check if directory exists. if (is_dir($this->directory)) { // Remove it.