From d78a9c5af7be0e1b3258abe3a54d44e0b238cf98 Mon Sep 17 00:00:00 2001 From: Thomas Steur <tsteur@users.noreply.github.com> Date: Tue, 18 Feb 2014 08:37:07 +1300 Subject: [PATCH] refs #4610 this should fix the tests --- tests/PHPUnit/Integration/Core/CliMultiTest.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/PHPUnit/Integration/Core/CliMultiTest.php b/tests/PHPUnit/Integration/Core/CliMultiTest.php index a16459fb96..99feb19f70 100644 --- a/tests/PHPUnit/Integration/Core/CliMultiTest.php +++ b/tests/PHPUnit/Integration/Core/CliMultiTest.php @@ -131,7 +131,7 @@ class Core_CliMultiTest extends IntegrationTestCase // performs a redirect $response = $this->cliMulti->request(array('/')); - $this->assertEmpty($response[0]); + $this->assertStringStartsWith('<!DOCTYPE html>', $response[0]); } public function test_request_shouldBeAbleToRenderARegularPageInPiwik() @@ -231,4 +231,4 @@ class Core_CliMultiTest extends IntegrationTestCase return $numFilesInTmp + $numFilesInSubfolders; } -} \ No newline at end of file +} -- GitLab