fix tests
authorMichael Wallner <mike@php.net>
Wed, 5 Oct 2016 11:14:50 +0000 (13:14 +0200)
committerMichael Wallner <mike@php.net>
Wed, 5 Oct 2016 11:14:50 +0000 (13:14 +0200)
tests/client022.phpt
tests/client028.phpt

index e813cdc..4341351 100644 (file)
@@ -19,6 +19,7 @@ nghttpd(function($port) {
                "protocol" => http\Client\Curl\HTTP_VERSION_2_0,
                "ssl" => [
                        "cainfo" => __DIR__."/helper/http2.crt",
+                       "verifypeer" => false, // needed for NSS without PEM support 
                ]
        ]);
        
index 232f562..b0550df 100644 (file)
@@ -137,5 +137,5 @@ server("proxy.inc", function($port) {
 ===DONE===
 --EXPECTREGEX--
 Test
-T[WST]*(O[WST]*)+U+int\(200\)
+[ST][WST]*([OWST]*)+U+int\(200\)
 ===DONE===