From 209c9ba3847ae990ed51f3a7b9354879648fc464 Mon Sep 17 00:00:00 2001 From: =?utf8?q?C=C3=B4me=20Chilliet?= Date: Tue, 4 Jul 2017 10:16:56 +0200 Subject: [PATCH] Test ldap_exop_passwd with less parameters to be sure it works --- ext/ldap/tests/ldap_exop_passwd.phpt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ext/ldap/tests/ldap_exop_passwd.phpt b/ext/ldap/tests/ldap_exop_passwd.phpt index e282678c49..2f0d4cb599 100644 --- a/ext/ldap/tests/ldap_exop_passwd.phpt +++ b/ext/ldap/tests/ldap_exop_passwd.phpt @@ -17,6 +17,7 @@ insert_dummy_data($link, $base); // ldap_exop_passwd(resource link [, string user [, string oldpw [, string newpw [, string newpasswd ]]]]) var_dump( $genpw = ldap_exop_passwd($link, "cn=userA,$base", "oops", ""), + $genpw = ldap_exop_passwd($link, "cn=userA,$base"), test_bind($host, $port, "cn=userA,$base", $genpw, $protocol_version), ldap_exop_passwd($link, "cn=userA,$base", $genpw, "newPassword"), test_bind($host, $port, "cn=userA,$base", "newPassword", $protocol_version) @@ -33,6 +34,7 @@ remove_dummy_data($link, $base); ?> --EXPECTF-- string(%d) "%s" +string(%d) "%s" bool(true) bool(true) bool(true) -- 2.50.1