From d015f4594c06c952109be55cdbc6cac4811f1388 Mon Sep 17 00:00:00 2001 From: Gunnar Wrobel Date: Mon, 12 Apr 2010 10:51:26 +0200 Subject: [PATCH] Testing should not rely on a network connection. --- framework/Http/test/Horde/Http/FopenTest.php | 1 + 1 file changed, 1 insertion(+) 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); -- 2.11.0