Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormattab <matthieu.aubry@gmail.com>2014-03-17 10:15:46 +0400
committermattab <matthieu.aubry@gmail.com>2014-03-17 10:15:46 +0400
commitb41600e183823abb5072d91836f20674e721abc0 (patch)
treed834a1b3805493c51ede321a45a292514e5b3cbe /tests/PHPUnit
parent562c757941f0379eff612a167cd4845615d07585 (diff)
Debug travis failure
Diffstat (limited to 'tests/PHPUnit')
-rw-r--r--tests/PHPUnit/Integration/Core/CliMultiTest.php5
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()