From d487aa13c0adeb2432abd38cbecb37b7267768a5 Mon Sep 17 00:00:00 2001 From: Alex Pott <alex.a.pott@googlemail.com> Date: Wed, 11 Apr 2018 21:57:11 +0100 Subject: [PATCH] Issue #2960214 by webflo: TestSiteApplicationTest fails on sites with long base path --- core/tests/Drupal/Tests/Scripts/TestSiteApplicationTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/tests/Drupal/Tests/Scripts/TestSiteApplicationTest.php b/core/tests/Drupal/Tests/Scripts/TestSiteApplicationTest.php index 734c977bc558..50d9f99640ad 100644 --- a/core/tests/Drupal/Tests/Scripts/TestSiteApplicationTest.php +++ b/core/tests/Drupal/Tests/Scripts/TestSiteApplicationTest.php @@ -89,7 +89,7 @@ public function testInstallWithNonSetupClass() { // Use __FILE__ to test absolute paths. $command_line = $php_binary_path . ' core/scripts/test-site.php install --setup-file "' . __FILE__ . '" --db-url "' . getenv('SIMPLETEST_DB') . '"'; - $process = new Process($command_line, $this->root); + $process = new Process($command_line, $this->root, ['COLUMNS' => PHP_INT_MAX]); $process->run(); $this->assertContains('The class Drupal\Tests\Scripts\TestSiteApplicationTest contained in', $process->getErrorOutput()); -- GitLab