From 22258cd0e6d317e1dbe3c2479aed037571f57b97 Mon Sep 17 00:00:00 2001 From: Michael Wallner Date: Mon, 2 Mar 2015 16:03:43 +0100 Subject: [PATCH] remove obsolete tests --- package.xml | 4 --- tests/envrequestbody002.phpt | 20 --------------- tests/envrequestbody003.phpt | 48 ------------------------------------ tests/envrequestjson001.phpt | 32 ------------------------ tests/envrequestjson002.phpt | 32 ------------------------ 5 files changed, 136 deletions(-) delete mode 100644 tests/envrequestbody002.phpt delete mode 100644 tests/envrequestbody003.phpt delete mode 100644 tests/envrequestjson001.phpt delete mode 100644 tests/envrequestjson002.phpt 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 - -- 2.30.2