X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;ds=sidebyside;f=tests%2FHttpMessage_003.phpt;h=e2f9f4f24e8a622b74c8e94ed8b694b1d15b8e82;hb=99b27b9e44043e5ff1bd53f2a1e3b007cfd16a42;hp=7caf206ba89bc07c4f7e74865b87be0f7bf64b43;hpb=33b7c5dcd9cffebb8486cb57e04958e34bbfe662;p=m6w6%2Fext-http diff --git a/tests/HttpMessage_003.phpt b/tests/HttpMessage_003.phpt index 7caf206..e2f9f4f 100644 --- a/tests/HttpMessage_003.phpt +++ b/tests/HttpMessage_003.phpt @@ -1,9 +1,9 @@ --TEST-- -HttpMessage implmenets Serializable, Countable +HttpMessage implements Serializable, Countable --SKIPIF-- --FILE-- count()); echo "Done\n"; ?> --EXPECTF-- -%sTEST +%aTEST int(3) string(148) "HTTP/1.1 301 Location: /anywhere @@ -44,25 +44,27 @@ Content-Length: 1 X " object(HttpMessage)#%d (%d) { - ["type:protected"]=> + ["type":protected]=> int(2) - ["httpVersion:protected"]=> - float(1.1) - ["responseCode:protected"]=> - int(200) - ["responseStatus:protected"]=> - string(2) "Ok" - ["requestMethod:protected"]=> + ["body":protected]=> + string(0) "" + ["requestMethod":protected]=> string(0) "" - ["requestUri:protected"]=> + ["requestUrl":protected]=> string(0) "" - ["headers:protected"]=> + ["responseStatus":protected]=> + string(2) "Ok" + ["responseCode":protected]=> + int(200) + ["httpVersion":protected]=> + float(1.1) + ["headers":protected]=> array(1) { ["Server"]=> string(9) "Funky/1.0" } - ["body:protected"]=> - string(0) "" + ["parentMessage":protected]=> + NULL } int(1) Done