[PECL-CVS] [pecl-networking-gearman] add-ssl-support: Fix tests
[email protected] (Rasmus Lerdorf) Sat, 4 Apr 2026 18:35:04 +0000
| Newsgroups | php.pecl.cvs |
|---|---|
| Message-ID | <[email protected]> |
Author: Rasmus Lerdorf (rlerdorf)
Date: 2026-04-04T14:34:58-04:00
Commit: https://github.com/php/pecl-networking-gearman/commit/62c8b7d1e7668f4d7f9387d6709f9d76d6308ac4
Raw diff: https://github.com/php/pecl-networking-gearman/commit/62c8b7d1e7668f4d7f9387d6709f9d76d6308ac4.diff
Fix tests
Changed paths:
M tests/gearman_client_024.phpt
M tests/gearman_worker_020.phpt
Diff:
diff --git a/tests/gearman_client_024.phpt b/tests/gearman_client_024.phpt
index 28c14d9..05edb47 100644
--- a/tests/gearman_client_024.phpt
+++ b/tests/gearman_client_024.phpt
@@ -8,10 +8,10 @@ if (!method_exists('GearmanClient', 'setSSL')) die("skip libgearman without SSL
--FILE--
<?php
$client = new GearmanClient();
-var_dump($client->setSSL(false));
+var_dump($client->setSSL());
$client2 = gearman_client_create();
-var_dump(gearman_client_set_ssl($client2, false));
+var_dump(gearman_client_set_ssl($client2));
print "OK";
?>
diff --git a/tests/gearman_worker_020.phpt b/tests/gearman_worker_020.phpt
index 3ec7985..50d5a21 100644
--- a/tests/gearman_worker_020.phpt
+++ b/tests/gearman_worker_020.phpt
@@ -7,10 +7,10 @@ if (!extension_loaded("gearman")) die("skip");
--FILE--
<?php
$worker = new GearmanWorker();
-var_dump($worker->setSSL(false));
+var_dump($worker->setSSL());
$worker2 = gearman_worker_create();
-var_dump(gearman_worker_set_ssl($worker2, false));
+var_dump(gearman_worker_set_ssl($worker2));
print "OK";
?>