Issue #2960214 by webflo: TestSiteApplicationTest fails on sites with long base path

8.6.x
Alex Pott 2018-04-11 21:57:11 +01:00
parent 5bd2dd5dd3
commit d487aa13c0
No known key found for this signature in database
GPG Key ID: 31905460D4A69276
1 changed files with 1 additions and 1 deletions

View File

@ -89,7 +89,7 @@ class TestSiteApplicationTest extends UnitTestCase {
// 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());