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
diff options
context:
space:
mode:
authordiosmosis <benaka@piwik.pro>2014-09-27 09:54:20 +0400
committerdiosmosis <benaka@piwik.pro>2014-09-27 09:54:20 +0400
commit50e8d461ae1cec6e8f4636d22833d54731a93412 (patch)
treeacb34e74c6d2d090a4f5b1e853660b5369cdc170 /tests/PHPUnit/Core
parentf09d3ee23e2789c5e7bb97ad4e61849f86d8bbf0 (diff)
Fix HttpTest w/ localhost change.
Diffstat (limited to 'tests/PHPUnit/Core')
-rw-r--r--tests/PHPUnit/Core/HttpTest.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/PHPUnit/Core/HttpTest.php b/tests/PHPUnit/Core/HttpTest.php
index 6b79a0c082..36af08b943 100644
--- a/tests/PHPUnit/Core/HttpTest.php
+++ b/tests/PHPUnit/Core/HttpTest.php
@@ -30,10 +30,10 @@ class HttpTest extends PHPUnit_Framework_TestCase
*
* @dataProvider getMethodsToTest
*/
- public function todo_testFetchRemoteFile($method)
+ public function testFetchRemoteFile($method)
{
$this->assertNotNull(Http::getTransportMethod());
- $result = Http::sendHttpRequestBy($method, 'http://localhost/', 30);
+ $result = Http::sendHttpRequestBy($method, 'http://localhost/piwik.js', 30);
$this->assertTrue(strpos($result, 'Piwik') !== false);
}