diff options
author | Matthieu Aubry <matt@piwik.org> | 2014-08-14 02:07:23 +0400 |
---|---|---|
committer | Matthieu Aubry <matt@piwik.org> | 2014-08-14 02:07:23 +0400 |
commit | a040cb98cccb95ebe241465ad3cab1f0925d9e78 (patch) | |
tree | c5c5014193a7061a7faa3502e916d8470b86d19e /tests | |
parent | d836135ed01cb638ca7d3d2d5c877c9882f41c90 (diff) | |
parent | 5dec27c8329c2f53bd80d4fa9b6048b4f72d7c08 (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.php | 3 |
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, |