diff options
-rw-r--r-- | core/Tracker/Response.php | 2 | ||||
-rw-r--r-- | tests/PHPUnit/Integration/TrackerTest.php | 2 | ||||
-rwxr-xr-x | tests/PHPUnit/System/TrackerResponseTest.php | 4 | ||||
-rw-r--r-- | tests/PHPUnit/Unit/Tracker/ResponseTest.php | 2 |
4 files changed, 5 insertions, 5 deletions
diff --git a/core/Tracker/Response.php b/core/Tracker/Response.php index bf8c6f9955..7927666511 100644 --- a/core/Tracker/Response.php +++ b/core/Tracker/Response.php @@ -78,7 +78,7 @@ class Response Common::sendResponseCode(400); } Common::printDebug("Empty request => Piwik page"); - echo "<a href='/'>Piwik</a> is a free/libre web <a href='http://piwik.org'>analytics</a> that lets you keep control of your data."; + echo "This resource is part of Piwik. Keep full control of your data with the leading free and open source <a href='https://piwik.org' target='_blank'>digital analytics platform</a> for web and mobile."; } else { $this->outputApiResponse($tracker); Common::printDebug("Nothing to notice => default behaviour"); diff --git a/tests/PHPUnit/Integration/TrackerTest.php b/tests/PHPUnit/Integration/TrackerTest.php index 148bf622df..13b3821bc4 100644 --- a/tests/PHPUnit/Integration/TrackerTest.php +++ b/tests/PHPUnit/Integration/TrackerTest.php @@ -251,7 +251,7 @@ class TrackerTest extends IntegrationTestCase $response = $this->tracker->main($this->getDefaultHandler(), $requestSet); - $expected = "<a href='/'>Piwik</a> is a free/libre web <a href='http://piwik.org'>analytics</a> that lets you keep control of your data."; + $expected = "This resource is part of Piwik. Keep full control of your data with the leading free and open source <a href='https://piwik.org' target='_blank'>digital analytics platform</a> for web and mobile."; $this->assertEquals($expected, $response); } diff --git a/tests/PHPUnit/System/TrackerResponseTest.php b/tests/PHPUnit/System/TrackerResponseTest.php index 337aceb30c..05f6b749c3 100755 --- a/tests/PHPUnit/System/TrackerResponseTest.php +++ b/tests/PHPUnit/System/TrackerResponseTest.php @@ -101,7 +101,7 @@ class TrackerResponseTest extends SystemTestCase $url = Fixture::getTrackerUrl(); $this->assertResponseCode(200, $url); - $expected = "<a href='/'>Piwik</a> is a free/libre web <a href='http://piwik.org'>analytics</a> that lets you keep control of your data."; + $expected = "This resource is part of Piwik. Keep full control of your data with the leading free and open source <a href='https://piwik.org' target='_blank'>digital analytics platform</a> for web and mobile."; $this->assertHttpResponseText($expected, $url); } @@ -110,7 +110,7 @@ class TrackerResponseTest extends SystemTestCase $url = Fixture::getTrackerUrl(); $this->assertResponseCode(400, $url . '?rec=1'); - $expected = "<a href='/'>Piwik</a> is a free/libre web <a href='http://piwik.org'>analytics</a> that lets you keep control of your data."; + $expected = "This resource is part of Piwik. Keep full control of your data with the leading free and open source <a href='https://piwik.org' target='_blank'>digital analytics platform</a> for web and mobile."; $this->assertHttpResponseText($expected, $url); } diff --git a/tests/PHPUnit/Unit/Tracker/ResponseTest.php b/tests/PHPUnit/Unit/Tracker/ResponseTest.php index 4d902ada08..597ee513db 100644 --- a/tests/PHPUnit/Unit/Tracker/ResponseTest.php +++ b/tests/PHPUnit/Unit/Tracker/ResponseTest.php @@ -127,7 +127,7 @@ class ResponseTest extends \PHPUnit_Framework_TestCase $tracker->setCountOfLoggedRequests(0); $this->response->outputResponse($tracker); - $this->assertEquals("<a href='/'>Piwik</a> is a free/libre web <a href='http://piwik.org'>analytics</a> that lets you keep control of your data.", + $this->assertEquals("This resource is part of Piwik. Keep full control of your data with the leading free and open source <a href='https://piwik.org' target='_blank'>digital analytics platform</a> for web and mobile.", $this->response->getOutput()); } |