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
path: root/tests
diff options
context:
space:
mode:
authorMatthieu Aubry <matt@piwik.org>2014-08-14 02:07:23 +0400
committerMatthieu Aubry <matt@piwik.org>2014-08-14 02:07:23 +0400
commita040cb98cccb95ebe241465ad3cab1f0925d9e78 (patch)
treec5c5014193a7061a7faa3502e916d8470b86d19e /tests
parentd836135ed01cb638ca7d3d2d5c877c9882f41c90 (diff)
parent5dec27c8329c2f53bd80d4fa9b6048b4f72d7c08 (diff)
Merge pull request #5939 from mnapoli/fix-tests-root-url
Fixed a test to use the configured root URL
Diffstat (limited to 'tests')
-rw-r--r--tests/PHPUnit/Core/HttpTest.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/PHPUnit/Core/HttpTest.php b/tests/PHPUnit/Core/HttpTest.php
index ae5ecb96ec..f70fba4816 100644
--- a/tests/PHPUnit/Core/HttpTest.php
+++ b/tests/PHPUnit/Core/HttpTest.php
@@ -6,6 +6,7 @@
* @license http://www.gnu.org/licenses/gpl-3.0.html GPL v3 or later
*/
use Piwik\Http;
+use Piwik\Tests\Fixture;
/**
* @group HttpTest
@@ -66,7 +67,7 @@ class HttpTest extends PHPUnit_Framework_TestCase
{
$result = Http::sendHttpRequestBy(
$method,
- 'http://localhost/piwik.js',
+ Fixture::getRootUrl() . '/piwik.js',
30,
$userAgent = null,
$destinationPath = null,