Testing should not rely on a network connection.
authorGunnar Wrobel <p@rdus.de>
Mon, 12 Apr 2010 08:51:26 +0000 (10:51 +0200)
committerGunnar Wrobel <p@rdus.de>
Mon, 12 Apr 2010 08:51:26 +0000 (10:51 +0200)
framework/Http/test/Horde/Http/FopenTest.php

index 980c257..e5c7f03 100644 (file)
@@ -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);