From: Gunnar Wrobel
Date: Mon, 12 Apr 2010 08:51:26 +0000 (+0200) Subject: Testing should not rely on a network connection. X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=d015f4594c06c952109be55cdbc6cac4811f1388;p=horde.git Testing should not rely on a network connection. --- diff --git a/framework/Http/test/Horde/Http/FopenTest.php b/framework/Http/test/Horde/Http/FopenTest.php index 980c2572e..e5c7f0354 100644 --- a/framework/Http/test/Horde/Http/FopenTest.php +++ b/framework/Http/test/Horde/Http/FopenTest.php @@ -29,6 +29,7 @@ class Horde_Http_FopenTest extends PHPUnit_Framework_TestCase public function testReturnsResponseInsteadOfExceptionOn404() { + $this->markTestIncomplete('This does not work if we are disconnected from the network. Needs fixing!'); $client = new Horde_Http_Client(array('request' => new Horde_Http_Request_Fopen())); $response = $client->get('http://example.com/doesntexist'); $this->assertEquals(404, $response->code);