From: Michael Wallner Date: Mon, 2 Mar 2015 15:03:43 +0000 (+0100) Subject: remove obsolete tests X-Git-Tag: RELEASE_2_4_0~7 X-Git-Url: https://git.m6w6.name/?a=commitdiff_plain;h=22258cd0e6d317e1dbe3c2479aed037571f57b97;p=m6w6%2Fext-http remove obsolete tests --- diff --git a/package.xml b/package.xml index 447de8a..40a7227 100644 --- a/package.xml +++ b/package.xml @@ -203,15 +203,11 @@ http://dev.iworks.at/ext-http/lcov/ext/http/ - - - - diff --git a/tests/envrequestbody002.phpt b/tests/envrequestbody002.phpt deleted file mode 100644 index 69c5988..0000000 --- a/tests/envrequestbody002.phpt +++ /dev/null @@ -1,20 +0,0 @@ ---TEST-- -env request body ---SKIPIF-- - ---PUT-- -Content-Type: application/x-www-form-urlencoded -foo=bar&baz=buh ---FILE-- - -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 index c2bde83..0000000 --- a/tests/envrequestbody003.phpt +++ /dev/null @@ -1,48 +0,0 @@ ---TEST-- -env request body ---SKIPIF-- - ---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-- - -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 index 3dfd9a8..0000000 --- a/tests/envrequestjson001.phpt +++ /dev/null @@ -1,32 +0,0 @@ ---TEST-- -env request json ---SKIPIF-- - ---POST_RAW-- -Content-Type: application/json - -{"foo": "bar", "a": [1,2,3]} ---FILE-- - -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 index 4c404c0..0000000 --- a/tests/envrequestjson002.phpt +++ /dev/null @@ -1,32 +0,0 @@ ---TEST-- -env request json ---SKIPIF-- - ---PUT-- -Content-Type: application/json - -{"foo": "bar", "a": [1,2,3]} ---FILE-- - -Done ---EXPECT-- -Test -Array -( - [foo] => bar - [a] => Array - ( - [0] => 1 - [1] => 2 - [2] => 3 - ) - -) -Done -