diff options
author | mattab <matthieu.aubry@gmail.com> | 2014-03-17 10:15:46 +0400 |
---|---|---|
committer | mattab <matthieu.aubry@gmail.com> | 2014-03-17 10:15:46 +0400 |
commit | b41600e183823abb5072d91836f20674e721abc0 (patch) | |
tree | d834a1b3805493c51ede321a45a292514e5b3cbe /tests/PHPUnit | |
parent | 562c757941f0379eff612a167cd4845615d07585 (diff) |
Debug travis failure
Diffstat (limited to 'tests/PHPUnit')
-rw-r--r-- | tests/PHPUnit/Integration/Core/CliMultiTest.php | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/PHPUnit/Integration/Core/CliMultiTest.php b/tests/PHPUnit/Integration/Core/CliMultiTest.php index 5a1ef6338a..52706935ac 100644 --- a/tests/PHPUnit/Integration/Core/CliMultiTest.php +++ b/tests/PHPUnit/Integration/Core/CliMultiTest.php @@ -136,8 +136,9 @@ class Core_CliMultiTest extends IntegrationTestCase $response = $this->cliMulti->request($urls); - $this->assertTrue(false !== strpos($response[0], '<meta name="generator" content="Piwik - Open Source Web Analytics"/>')); - $this->assertTrue(false !== strpos($response[0], 'Widgetize the full dashboard')); + $message = "Response was: " . substr($response, 0, 4000); + $this->assertTrue(false !== strpos($response[0], '<meta name="generator" content="Piwik - Open Source Web Analytics"/>'), $message); + $this->assertTrue(false !== strpos($response[0], 'Widgetize the full dashboard'). $message); } public function test_shouldFallback_IfAsyncIsNotSupported() |