summaryrefslogtreecommitdiff
path: root/ext/ldap/tests/ldap_mod_add_error.phpt
diff options
context:
space:
mode:
authorCôme Chilliet <mcmic@php.net>2017-09-07 17:03:45 +0200
committerCôme Chilliet <mcmic@php.net>2017-09-21 10:05:41 +0200
commitb5ca0c1c78f05f1ad1332265ee6dabfc083c6d3f (patch)
tree26875096868987c61becfeda098dcea616d6fe72 /ext/ldap/tests/ldap_mod_add_error.phpt
parentd377edb884949fd7e32b5d9e62772321b550a08f (diff)
downloadphp-git-b5ca0c1c78f05f1ad1332265ee6dabfc083c6d3f.tar.gz
Removed client controls alltogether
Client controls are ldap client lib specific and all the one I could find are ignoring client controls anyway.
Diffstat (limited to 'ext/ldap/tests/ldap_mod_add_error.phpt')
-rw-r--r--ext/ldap/tests/ldap_mod_add_error.phpt4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/ldap/tests/ldap_mod_add_error.phpt b/ext/ldap/tests/ldap_mod_add_error.phpt
index d026a7d0c0..4bfbaa5551 100644
--- a/ext/ldap/tests/ldap_mod_add_error.phpt
+++ b/ext/ldap/tests/ldap_mod_add_error.phpt
@@ -18,7 +18,7 @@ var_dump(ldap_mod_add($link));
var_dump(ldap_mod_add($link, "$base"));
// Too many parameters
-var_dump(ldap_mod_add($link, "$base", array(), [], [], "Additional data"));
+var_dump(ldap_mod_add($link, "$base", array(), [], "Additional data"));
// DN not found
var_dump(ldap_mod_add($link, "dc=my-domain,$base", array()));
@@ -66,7 +66,7 @@ NULL
Warning: ldap_mod_add() expects at least 3 parameters, 2 given in %s on line %d
NULL
-Warning: ldap_mod_add() expects at most 5 parameters, 6 given in %s on line %d
+Warning: ldap_mod_add() expects at most 4 parameters, 5 given in %s on line %d
NULL
Warning: ldap_mod_add(): Modify: No such object in %s on line %d