Created
March 9, 2012 18:28
-
-
Save sasezaki/2007905 to your computer and use it in GitHub Desktop.
current ZF2 Http StaticTest will fail on PHP5.4.0
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| $ php ~/tmp/phpunit36/bin/phpunit -c tests/phpunit.xml tests/Zend/Http/Client/StaticTest.php PHPUnit 3.6.10 by Sebastian Bergmann. | |
| Configuration read from /home/sasezaki/zf2/tests/phpunit.xml | |
| .........................string(18) "POST \/ HTTP\/1\.1" | |
| string(15) "POST / HTTP/1.1" | |
| string(18) "Host: example\.com" | |
| string(17) "Host: example.com" | |
| string(17) "Connection: close" | |
| string(17) "Connection: close" | |
| string(30) "Accept-encoding: gzip, deflate" | |
| string(30) "Accept-encoding: gzip, deflate" | |
| string(28) "User-Agent: Zend_Http_Client" | |
| string(28) "User-Agent: Zend_Http_Client" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| $ ~/php/php-5.4.0/sapi/cli/php ~/tmp/phpunit36/bin/phpunit -c tests/phpunit.xml tests/Zend/Http/Client/StaticTest | |
| .php | |
| PHPUnit 3.6.10 by Sebastian Bergmann. | |
| Configuration read from /home/sasezaki/zf2/tests/phpunit.xml | |
| ........................Fstring(18) "POST \/ HTTP\/1\.1" | |
| string(15) "POST / HTTP/1.1" | |
| string(18) "Host: example\.com" | |
| string(17) "Host: example.com" | |
| string(17) "Connection: close" | |
| string(17) "Connection: close" | |
| string(30) "Accept-encoding: gzip, deflate" | |
| string(25) "Accept-encoding: identity" | |
| ..... | |
| Time: 3 seconds, Memory: 2.75Mb | |
| There was 1 failure: | |
| 1) ZendTest\Http\Client\StaticTest::testFormDataEncodingWithMultiArrayZF7038 | |
| Failed asserting that 'Accept-encoding: identity' matches PCRE pattern "/^Accept-encoding: gzip, deflate$/". | |
| /home/sasezaki/zf2/tests/Zend/Http/Client/StaticTest.php:430 | |
| /home/sasezaki/tmp/phpunit36/bin/phpunit:47 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment