X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=tests%2Fphpunit%2Fincludes%2FHttpTest.php;h=8a0dff786a0a96e30c54aa2abbfb1b004bb31e1e;hb=9334fca4e0de3b71b5f846efb63648591f9cd62f;hp=e3ee7056cb234c6aeb2d7cf50b71a33adfd7c311;hpb=afe3c2c03a7f1207bf388b816df6b7e06bbc31ac;p=lhc%2Fweb%2Fwiklou.git diff --git a/tests/phpunit/includes/HttpTest.php b/tests/phpunit/includes/HttpTest.php index e3ee7056cb..8a0dff786a 100644 --- a/tests/phpunit/includes/HttpTest.php +++ b/tests/phpunit/includes/HttpTest.php @@ -138,7 +138,7 @@ class HttpTest extends MediaWikiTestCase { * HTTP redirects). */ public function testRelativeRedirections() { - $h = MWHttpRequestTester::factory( 'http://oldsite/file.ext' ); + $h = MWHttpRequestTester::factory( 'http://oldsite/file.ext', array(), __METHOD__ ); # Forge a Location header $h->setRespHeaders( 'location', array(