projects
/
horde.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7a32f93
)
Testing should not rely on a network connection.
author
Gunnar Wrobel
<p@rdus.de>
Mon, 12 Apr 2010 08:51:26 +0000
(10:51 +0200)
committer
Gunnar Wrobel
<p@rdus.de>
Mon, 12 Apr 2010 08:51:26 +0000
(10:51 +0200)
framework/Http/test/Horde/Http/FopenTest.php
patch
|
blob
|
history
diff --git
a/framework/Http/test/Horde/Http/FopenTest.php
b/framework/Http/test/Horde/Http/FopenTest.php
index
980c257
..
e5c7f03
100644
(file)
--- 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);