fix tests
[m6w6/ext-http] / tests / client022.phpt
index a59971ccbcaccb7b99bdac8e83ece4c51ede3cbd..434135107ae6215597fd63dd5a6d78886581791f 100644 (file)
@@ -19,6 +19,7 @@ nghttpd(function($port) {
                "protocol" => http\Client\Curl\HTTP_VERSION_2_0,
                "ssl" => [
                        "cainfo" => __DIR__."/helper/http2.crt",
                "protocol" => http\Client\Curl\HTTP_VERSION_2_0,
                "ssl" => [
                        "cainfo" => __DIR__."/helper/http2.crt",
+                       "verifypeer" => false, // needed for NSS without PEM support 
                ]
        ]);
        
                ]
        ]);
        
@@ -31,7 +32,7 @@ nghttpd(function($port) {
 ===DONE===
 --EXPECTF--
 Test
 ===DONE===
 --EXPECTF--
 Test
-HTTP/2.0 200
+HTTP/2 200
 %a
 
 <!doctype html>
 %a
 
 <!doctype html>