projects
/
m6w6
/
ext-http
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
upgrade test suite to 5.3
[m6w6/ext-http]
/
tests
/
HttpMessage_003.phpt
diff --git
a/tests/HttpMessage_003.phpt
b/tests/HttpMessage_003.phpt
index 7caf206ba89bc07c4f7e74865b87be0f7bf64b43..e2f9f4f24e8a622b74c8e94ed8b694b1d15b8e82 100644
(file)
--- a/
tests/HttpMessage_003.phpt
+++ b/
tests/HttpMessage_003.phpt
@@
-1,9
+1,9
@@
--TEST--
--TEST--
-HttpMessage impl
mene
ts Serializable, Countable
+HttpMessage impl
emen
ts Serializable, Countable
--SKIPIF--
<?php
include 'skip.inc';
--SKIPIF--
<?php
include 'skip.inc';
-checkmin(5);
+checkmin(5
.3
);
?>
--FILE--
<?php
?>
--FILE--
<?php
@@
-31,7
+31,7
@@
var_dump($m->count());
echo "Done\n";
?>
--EXPECTF--
echo "Done\n";
?>
--EXPECTF--
-%
s
TEST
+%
a
TEST
int(3)
string(148) "HTTP/1.1 301
Location: /anywhere
int(3)
string(148) "HTTP/1.1 301
Location: /anywhere
@@
-44,25
+44,27
@@
Content-Length: 1
X
"
object(HttpMessage)#%d (%d) {
X
"
object(HttpMessage)#%d (%d) {
- ["type
:protected"
]=>
+ ["type
":protected
]=>
int(2)
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) ""
string(0) ""
- ["requestUr
i:protected"
]=>
+ ["requestUr
l":protected
]=>
string(0) ""
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"
}
array(1) {
["Server"]=>
string(9) "Funky/1.0"
}
- ["
body:protected"
]=>
- string(0) ""
+ ["
parentMessage":protected
]=>
+ NULL
}
int(1)
Done
}
int(1)
Done