projects
/
m6w6
/
ext-http
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
tests++
[m6w6/ext-http]
/
tests
/
client012.phpt
diff --git
a/tests/client012.phpt
b/tests/client012.phpt
index ad6c2eb15f0d477cddc9e7712b6dd18999233176..8db3afcc2c3807fcfcd80c25b4ef85e4bae432d5 100644
(file)
--- a/
tests/client012.phpt
+++ b/
tests/client012.phpt
@@
-4,20
+4,20
@@
client ssl
<?php
include "skipif.inc";
skip_online_test();
<?php
include "skipif.inc";
skip_online_test();
+skip_client_test();
?>
--FILE--
<?php
?>
--FILE--
<?php
-
echo "Test\n";
$client = new http\Client;
echo "Test\n";
$client = new http\Client;
-$client->setSslOptions(array("verify
_
peer" => true));
-$client->addSslOptions(array("verify
_
host" => 2));
+$client->setSslOptions(array("verifypeer" => true));
+$client->addSslOptions(array("verifyhost" => 2));
var_dump(
array(
var_dump(
array(
- "verify
_
peer" => true,
- "verify
_
host" => 2,
+ "verifypeer" => true,
+ "verifyhost" => 2,
) === $client->getSslOptions()
);
) === $client->getSslOptions()
);