diff options
Diffstat (limited to 'tests/PHPUnit/System/CliMultiTest.php')
-rw-r--r-- | tests/PHPUnit/System/CliMultiTest.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/PHPUnit/System/CliMultiTest.php b/tests/PHPUnit/System/CliMultiTest.php index 23ea2e68a3..f5d0fa85b0 100644 --- a/tests/PHPUnit/System/CliMultiTest.php +++ b/tests/PHPUnit/System/CliMultiTest.php @@ -144,7 +144,7 @@ class CliMultiTest extends SystemTestCase { $this->cliMulti->runAsSuperUser(); $response = $this->cliMulti->request(array($this->completeUrl(''))); - $this->assertStringStartsWith('Error in Piwik: Error: no website was found', $response[0]); + $this->assertContains('Error: no website was found', $response[0]); } public function test_request_shouldBeAbleToRenderARegularPageInPiwik() |