removed awkward custom error handling and http\Object base class
[m6w6/ext-http] / tests / message002.phpt
index f701bc2aa104043dd1ec84de6abc89ab0ff70255..06d9e1b909d996db5fb18519e85a468b7f2d4284 100644 (file)
@@ -31,15 +31,11 @@ var_dump(file_get_contents("php://input"));
 echo "Done\n";
 --EXPECTF--
 Test
 echo "Done\n";
 --EXPECTF--
 Test
-object(%s)#%d (13) {
-  ["errorHandling":protected]=>
-  NULL
+object(%s)#%d (12) {
   ["type":protected]=>
   int(1)
   ["body":protected]=>
   ["type":protected]=>
   int(1)
   ["body":protected]=>
-  object(%s)#%d (1) {
-    ["errorHandling":protected]=>
-    NULL
+  object(http\Message\Body)#%d (0) {
   }
   ["requestMethod":protected]=>
   string(4) "POST"
   }
   ["requestMethod":protected]=>
   string(4) "POST"
@@ -65,17 +61,13 @@ object(%s)#%d (13) {
   ["parentMessage":protected]=>
   NULL
   ["query":protected]=>
   ["parentMessage":protected]=>
   NULL
   ["query":protected]=>
-  object(http\QueryString)#2 (2) {
-    ["errorHandling":protected]=>
-    NULL
+  object(http\QueryString)#2 (1) {
     ["queryArray":"http\QueryString":private]=>
     array(0) {
     }
   }
   ["form":protected]=>
     ["queryArray":"http\QueryString":private]=>
     array(0) {
     }
   }
   ["form":protected]=>
-  object(http\QueryString)#3 (2) {
-    ["errorHandling":protected]=>
-    NULL
+  object(http\QueryString)#3 (1) {
     ["queryArray":"http\QueryString":private]=>
     array(0) {
     }
     ["queryArray":"http\QueryString":private]=>
     array(0) {
     }