X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=tests%2FHttpRequest_001.phpt;h=ec28bdfbe8f4b516bb1c2ba0ee8a70fb5642ffb8;hb=c4d95e923b40160d814c7e4e0a822332bbd65bdb;hp=8e0d6fab06c112793b1019cfa3fdc1695d6d4265;hpb=244c8484720c23fdb5d9d557ca180dc2b822a140;p=m6w6%2Fext-http diff --git a/tests/HttpRequest_001.phpt b/tests/HttpRequest_001.phpt index 8e0d6fa..ec28bdf 100644 --- a/tests/HttpRequest_001.phpt +++ b/tests/HttpRequest_001.phpt @@ -1,12 +1,13 @@ --TEST-- HttpRequest options --SKIPIF-- - (int) PHP_VERSION) and die('skip PHP5 is required for Http classes'); +checkver(5); ?> --FILE-- setOptions(array('redirect'=>11, 'headers'=>array('X-Foo'=>'Bar'))); @@ -21,9 +22,7 @@ $r1 = null; $r2 = null; ?> --EXPECTF-- -Content-type: text/html -X-Powered-By: PHP/%s - +%sTEST Array ( [0] => Array @@ -49,4 +48,4 @@ Array ) ) -bool(false) \ No newline at end of file +bool(false)