Skip to content
Extraits de code Groupes Projets
Valider 50e8d461 rédigé par diosmosis's avatar diosmosis
Parcourir les fichiers

Fix HttpTest w/ localhost change.

parent f09d3ee2
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
......@@ -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);
}
......
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Veuillez vous inscrire ou vous pour commenter