Index: trunk/phase3/tests/phpunit/includes/HttpTest.php |
— | — | @@ -115,11 +115,11 @@ |
116 | 116 | "Request took less than {$timeout}s via " . Http::$httpEngine ); |
117 | 117 | $this->assertEquals( $r, false, "false -- what we get on error from Http::get()" ); |
118 | 118 | |
119 | | - $r = Http::get( "http://www.example.com/this-file-does-not-exist", $timeout ); |
| 119 | + $r = Http::get( "http://www.mediawiki.org/xml/made-up-url", $timeout ); |
120 | 120 | $this->assertFalse( $r, "False on 404s" ); |
121 | 121 | |
122 | 122 | |
123 | | - $r = MWHttpRequest::factory( "http://www.example.com/this-file-does-not-exist" ); |
| 123 | + $r = MWHttpRequest::factory( "http://www.mediawiki.org/xml/made-up-url" ); |
124 | 124 | $er = $r->execute(); |
125 | 125 | if ( $r instanceof PhpHttpRequest && version_compare( '5.2.10', phpversion(), '>' ) ) { |
126 | 126 | $this->assertRegexp( "/HTTP request failed/", $er->getWikiText() ); |