diff options
author | mattab <matthieu.aubry@gmail.com> | 2014-03-17 10:31:22 +0400 |
---|---|---|
committer | mattab <matthieu.aubry@gmail.com> | 2014-03-17 10:31:22 +0400 |
commit | 5c8160892a4324f7f1e5c2ab8eecf68ea2d395de (patch) | |
tree | 83b7ae4b5f6db138cd456c586dcf262a3696c26a /tests/PHPUnit | |
parent | 1e6eede7ca5c49be7bfc2978b11c74e1f284b8d8 (diff) |
response is an array of response
Diffstat (limited to 'tests/PHPUnit')
-rw-r--r-- | tests/PHPUnit/Integration/Core/CliMultiTest.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/PHPUnit/Integration/Core/CliMultiTest.php b/tests/PHPUnit/Integration/Core/CliMultiTest.php index 52706935ac..2af8592e78 100644 --- a/tests/PHPUnit/Integration/Core/CliMultiTest.php +++ b/tests/PHPUnit/Integration/Core/CliMultiTest.php @@ -136,7 +136,7 @@ class Core_CliMultiTest extends IntegrationTestCase $response = $this->cliMulti->request($urls); - $message = "Response was: " . substr($response, 0, 4000); + $message = "Response was: " . substr( implode("\n\n", $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); } |