diff options
author | Côme Chilliet <mcmic@php.net> | 2017-07-26 17:33:36 +0200 |
---|---|---|
committer | Côme Chilliet <mcmic@php.net> | 2017-07-26 17:34:18 +0200 |
commit | afef1fe7786e22ad0f9e6944911c2c58da5f0147 (patch) | |
tree | 1ac8d40d721c9200b35de70f5b638458a663d8d3 | |
parent | 5b69a35c8c106a39f94f5e5c843d326312352735 (diff) | |
download | php-git-afef1fe7786e22ad0f9e6944911c2c58da5f0147.tar.gz |
Fixed ldap tests when ldap server hash out passwords
-rw-r--r-- | ext/ldap/tests/ldap_list_basic.phpt | 4 | ||||
-rw-r--r-- | ext/ldap/tests/ldap_modify_batch_basic.phpt | 2 | ||||
-rw-r--r-- | ext/ldap/tests/ldap_search_basic.phpt | 6 | ||||
-rw-r--r-- | ext/ldap/tests/ldap_search_overrides.phpt | 6 | ||||
-rw-r--r-- | ext/ldap/tests/ldap_search_variation6.phpt | 10 |
5 files changed, 14 insertions, 14 deletions
diff --git a/ext/ldap/tests/ldap_list_basic.phpt b/ext/ldap/tests/ldap_list_basic.phpt index 3f98bc8e2d..1aadab6a17 100644 --- a/ext/ldap/tests/ldap_list_basic.phpt +++ b/ext/ldap/tests/ldap_list_basic.phpt @@ -67,7 +67,7 @@ array(3) { ["count"]=> int(1) [0]=> - string(4) "oops" + string(%d) "%s" } [3]=> string(12) "userpassword" @@ -128,7 +128,7 @@ array(3) { ["count"]=> int(1) [0]=> - string(15) "oopsIDitItAgain" + string(%d) "%s" } [3]=> string(12) "userpassword" diff --git a/ext/ldap/tests/ldap_modify_batch_basic.phpt b/ext/ldap/tests/ldap_modify_batch_basic.phpt index 23700b49b2..0bec0e03c4 100644 --- a/ext/ldap/tests/ldap_modify_batch_basic.phpt +++ b/ext/ldap/tests/ldap_modify_batch_basic.phpt @@ -76,7 +76,7 @@ array(2) { ["count"]=> int(1) [0]=> - string(4) "oops" + string(%d) "%s" } [2]=> string(12) "userpassword" diff --git a/ext/ldap/tests/ldap_search_basic.phpt b/ext/ldap/tests/ldap_search_basic.phpt index 54523de38a..618366b1a1 100644 --- a/ext/ldap/tests/ldap_search_basic.phpt +++ b/ext/ldap/tests/ldap_search_basic.phpt @@ -68,7 +68,7 @@ array(4) { ["count"]=> int(1) [0]=> - string(4) "oops" + string(%d) "%s" } [3]=> string(12) "userpassword" @@ -129,7 +129,7 @@ array(4) { ["count"]=> int(1) [0]=> - string(15) "oopsIDitItAgain" + string(%d) "%s" } [3]=> string(12) "userpassword" @@ -181,7 +181,7 @@ array(4) { ["count"]=> int(1) [0]=> - string(17) "0r1g1na1 passw0rd" + string(%d) "%s" } [3]=> string(12) "userpassword" diff --git a/ext/ldap/tests/ldap_search_overrides.phpt b/ext/ldap/tests/ldap_search_overrides.phpt index 72d8e2498e..2434fe5db2 100644 --- a/ext/ldap/tests/ldap_search_overrides.phpt +++ b/ext/ldap/tests/ldap_search_overrides.phpt @@ -81,7 +81,7 @@ array(4) { ["count"]=> int(1) [0]=> - string(4) "oops" + string(%d) "%s" } [3]=> string(12) "userpassword" @@ -142,7 +142,7 @@ array(4) { ["count"]=> int(1) [0]=> - string(15) "oopsIDitItAgain" + string(%d) "%s" } [3]=> string(12) "userpassword" @@ -194,7 +194,7 @@ array(4) { ["count"]=> int(1) [0]=> - string(17) "0r1g1na1 passw0rd" + string(%d) "%s" } [3]=> string(12) "userpassword" diff --git a/ext/ldap/tests/ldap_search_variation6.phpt b/ext/ldap/tests/ldap_search_variation6.phpt index f4f98db873..a9202967b4 100644 --- a/ext/ldap/tests/ldap_search_variation6.phpt +++ b/ext/ldap/tests/ldap_search_variation6.phpt @@ -25,12 +25,12 @@ var_dump( ldap_get_entries($link, $result[1]) === $result0 ); var_dump( - $result = ldap_search(array($link, $link), null, $filter), + $result = ldap_search(array($link, $link), "", $filter), ldap_get_entries($link, $result[0]), ldap_get_entries($link, $result[1]) ); var_dump( - $result = ldap_search(array($link, $link), null, array($filter, $filter)), + $result = ldap_search(array($link, $link), "", array($filter, $filter)), ldap_get_entries($link, $result[0]), ldap_get_entries($link, $result[1]) ); @@ -87,7 +87,7 @@ array(4) { ["count"]=> int(1) [0]=> - string(4) "oops" + string(%d) "%s" } [3]=> string(12) "userpassword" @@ -148,7 +148,7 @@ array(4) { ["count"]=> int(1) [0]=> - string(15) "oopsIDitItAgain" + string(%d) "%s" } [3]=> string(12) "userpassword" @@ -200,7 +200,7 @@ array(4) { ["count"]=> int(1) [0]=> - string(17) "0r1g1na1 passw0rd" + string(%d) "%s" } [3]=> string(12) "userpassword" |