com php-src: Fixed test for ldap_set_option server cont rols with empty array: ext/ldap/tests/ldap_set_op tion_error.phpt

From: Date: Wed, 26 Jul 2017 15:21:27 +0000
Subject: com php-src: Fixed test for ldap_set_option server cont rols with empty array: ext/ldap/tests/ldap_set_op tion_error.phpt
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-98819@lists.php.net to get a copy of this message
Commit: d51c4cd64fd9276ee88517bbeb8bdb1a2b466751 Author: Côme Chilliet <mcmic@php.net> Wed, 26 Jul 2017 17:21:27 +0200 Parents: 5a6cc172d1459bfb430013916bdd9a389948bc63 Branches: master Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=d51c4cd64fd9276ee88517bbeb8bdb1a2b466751 Log: Fixed test for ldap_set_option server controls with empty array Changed paths: M ext/ldap/tests/ldap_set_option_error.phpt Diff: diff --git a/ext/ldap/tests/ldap_set_option_error.phpt b/ext/ldap/tests/ldap_set_option_error.phpt index f319c7e..3ea49cb 100644 --- a/ext/ldap/tests/ldap_set_option_error.phpt +++ b/ext/ldap/tests/ldap_set_option_error.phpt @@ -20,8 +20,7 @@ $controls = array( array("oid" => "1.2.752.58.1.10", "value" => "magic"), "weird" ), - array( - ), + "notanarray" ); // Too few parameters @@ -60,7 +59,7 @@ bool(false) Warning: ldap_set_option(): The array value must contain only arrays, where each array is a control in %s on line %d bool(false) -Warning: ldap_set_option(): Expected non-empty array value for this option in %s on line %d +Warning: ldap_set_option(): Expected array value for this option in %s on line %d bool(false) bool(false) ===DONE===

« previous php.cvs (#98819) next »