remove obsolete tests
authorMichael Wallner <mike@php.net>
Mon, 2 Mar 2015 15:03:43 +0000 (16:03 +0100)
committerMichael Wallner <mike@php.net>
Mon, 2 Mar 2015 15:03:43 +0000 (16:03 +0100)
package.xml
tests/envrequestbody002.phpt [deleted file]
tests/envrequestbody003.phpt [deleted file]
tests/envrequestjson001.phpt [deleted file]
tests/envrequestjson002.phpt [deleted file]

index 447de8a49528b200402baec912412fe815af9b80..40a72274f9f2a9232a3451681c4386aca2266690 100644 (file)
@@ -203,15 +203,11 @@ http://dev.iworks.at/ext-http/lcov/ext/http/
      <file role="test" name="encstream008.phpt"/>
      <file role="test" name="encstream009.phpt"/>
      <file role="test" name="envrequestbody001.phpt"/>
-     <file role="test" name="envrequestbody002.phpt"/>
-     <file role="test" name="envrequestbody003.phpt"/>
      <file role="test" name="envrequestcookie001.phpt"/>
      <file role="test" name="envrequestfiles001.phpt"/>
      <file role="test" name="envrequestfiles002.phpt"/>
      <file role="test" name="envrequestform.phpt"/>
      <file role="test" name="envrequestheader001.phpt"/>
-     <file role="test" name="envrequestjson001.phpt"/>
-     <file role="test" name="envrequestjson002.phpt"/>
      <file role="test" name="envrequestquery.phpt"/>
      <file role="test" name="envresponse001.phpt"/>
      <file role="test" name="envresponse002.phpt"/>
diff --git a/tests/envrequestbody002.phpt b/tests/envrequestbody002.phpt
deleted file mode 100644 (file)
index 69c5988..0000000
+++ /dev/null
@@ -1,20 +0,0 @@
---TEST--
-env request body
---SKIPIF--
-<?php include "skipif.inc"; ?>
---PUT--
-Content-Type: application/x-www-form-urlencoded
-foo=bar&baz=buh
---FILE--
-<?php
-var_dump($_POST);
-?>
-DONE
---EXPECT--
-array(2) {
-  ["foo"]=>
-  string(3) "bar"
-  ["baz"]=>
-  string(3) "buh"
-}
-DONE
diff --git a/tests/envrequestbody003.phpt b/tests/envrequestbody003.phpt
deleted file mode 100644 (file)
index c2bde83..0000000
+++ /dev/null
@@ -1,48 +0,0 @@
---TEST--
-env request body
---SKIPIF--
-<?php include "skipif.inc"; ?>
---PUT--
-Content-Type: multipart/form-data;boundary=123
---123
-Content-Disposition: form-data; name="foo"
-
-bar
---123
-Content-Disposition: form-data; name="baz"
-
-buh
---123
-Content-Disposition: form-data; name="up"; filename="up.txt"
-
-foo=bar&baz=buh
---123--
---FILE--
-<?php
-var_dump($_POST);
-var_dump($_FILES);
-?>
-DONE
---EXPECTF--
-array(2) {
-  ["foo"]=>
-  string(3) "bar"
-  ["baz"]=>
-  string(3) "buh"
-}
-array(1) {
-  ["up"]=>
-  array(5) {
-    ["name"]=>
-    string(6) "up.txt"
-    ["type"]=>
-    string(0) ""
-    ["tmp_name"]=>
-    string(%d) "%s"
-    ["error"]=>
-    int(0)
-    ["size"]=>
-    int(15)
-  }
-}
-DONE
diff --git a/tests/envrequestjson001.phpt b/tests/envrequestjson001.phpt
deleted file mode 100644 (file)
index 3dfd9a8..0000000
+++ /dev/null
@@ -1,32 +0,0 @@
---TEST--
-env request json
---SKIPIF--
-<?php
-include "skipif.inc";
-_ext("json");
-?>
---POST_RAW--
-Content-Type: application/json
-
-{"foo": "bar", "a": [1,2,3]}
---FILE--
-<?php
-echo "Test\n";
-print_r($_POST);
-?>
-Done
---EXPECT--
-Test
-Array
-(
-    [foo] => bar
-    [a] => Array
-        (
-            [0] => 1
-            [1] => 2
-            [2] => 3
-        )
-
-)
-Done
-
diff --git a/tests/envrequestjson002.phpt b/tests/envrequestjson002.phpt
deleted file mode 100644 (file)
index 4c404c0..0000000
+++ /dev/null
@@ -1,32 +0,0 @@
---TEST--
-env request json
---SKIPIF--
-<?php
-include "skipif.inc";
-_ext("json");
-?>
---PUT--
-Content-Type: application/json
-
-{"foo": "bar", "a": [1,2,3]}
---FILE--
-<?php
-echo "Test\n";
-print_r($_POST);
-?>
-Done
---EXPECT--
-Test
-Array
-(
-    [foo] => bar
-    [a] => Array
-        (
-            [0] => 1
-            [1] => 2
-            [2] => 3
-        )
-
-)
-Done
-