removed awkward custom error handling and http\Object base class
[m6w6/ext-http] / phpunit / MessageBodyTest.php
index 253fb55ccc199ca204a850680507a96d7df1c387..3aaf3eb838b0f487d8e72f4ac74175c5bfcbc5c7 100644 (file)
@@ -25,7 +25,7 @@ class MessageBodyTest extends PHPUnit_Framework_TestCase {
     }
 
     function testAppendError() {
-       $this->setExpectedException("PHPUnit_Framework_Error");
+       $this->setExpectedException("http\Exception\RuntimeException");
         $this->file->append("nope");
     }
     function testAppend() {