From 6e84f8e95e4f115bb5944e09aca4f77621711a37 Mon Sep 17 00:00:00 2001 From: Andreas Heigl Date: Mon, 29 Jun 2015 10:18:44 +0200 Subject: [PATCH] Fixes ldap_sort-tests MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Thanks to Côme Bernigaud for fixing! --- ext/ldap/tests/ldap_sort_basic.phpt | 1 + ext/ldap/tests/ldap_sort_error.phpt | 10 ++++++++++ ext/ldap/tests/ldap_sort_variation.phpt | 1 + 3 files changed, 12 insertions(+) diff --git a/ext/ldap/tests/ldap_sort_basic.phpt b/ext/ldap/tests/ldap_sort_basic.phpt index 9744468438..25fec5e18e 100644 --- a/ext/ldap/tests/ldap_sort_basic.phpt +++ b/ext/ldap/tests/ldap_sort_basic.phpt @@ -51,6 +51,7 @@ ldap_delete($link, "cn=userE,$base"); remove_dummy_data($link, $base); ?> --EXPECTF-- +Deprecated: ldap_sort(): Usage of ldap_sort is deprecated and will be removed in one of the next PHP-versions in %s.php on line %d bool(true) array(7) { ["count"]=> diff --git a/ext/ldap/tests/ldap_sort_error.phpt b/ext/ldap/tests/ldap_sort_error.phpt index 6eb409073e..59d36323bb 100644 --- a/ext/ldap/tests/ldap_sort_error.phpt +++ b/ext/ldap/tests/ldap_sort_error.phpt @@ -18,18 +18,28 @@ var_dump(ldap_sort($link, $link, "sn")); ?> ===DONE=== --EXPECTF-- +Deprecated: ldap_sort(): Usage of ldap_sort is deprecated and will be removed in one of the next PHP-versions in %s.php on line %d + Warning: ldap_sort() expects exactly 3 parameters, 1 given in %s on line %d bool(false) +Deprecated: ldap_sort(): Usage of ldap_sort is deprecated and will be removed in one of the next PHP-versions in %s.php on line %d + Warning: ldap_sort() expects exactly 3 parameters, 2 given in %s on line %d bool(false) +Deprecated: ldap_sort(): Usage of ldap_sort is deprecated and will be removed in one of the next PHP-versions in %s.php on line %d + Warning: ldap_sort() expects exactly 3 parameters, 4 given in %s on line %d bool(false) +Deprecated: ldap_sort(): Usage of ldap_sort is deprecated and will be removed in one of the next PHP-versions in %s.php on line %d + Warning: ldap_sort() expects parameter 3 to be %binary_string_optional%, resource given in %s on line %d bool(false) +Deprecated: ldap_sort(): Usage of ldap_sort is deprecated and will be removed in one of the next PHP-versions in %s.php on line %d + Warning: ldap_sort(): Supplied resource is not a valid ldap result resource in %s on line %d bool(false) ===DONE=== diff --git a/ext/ldap/tests/ldap_sort_variation.phpt b/ext/ldap/tests/ldap_sort_variation.phpt index e8f00341c3..501f42940a 100644 --- a/ext/ldap/tests/ldap_sort_variation.phpt +++ b/ext/ldap/tests/ldap_sort_variation.phpt @@ -51,6 +51,7 @@ ldap_delete($link, "cn=userE,$base"); remove_dummy_data($link, $base); ?> --EXPECTF-- +Deprecated: ldap_sort(): Usage of ldap_sort is deprecated and will be removed in one of the next PHP-versions in %s.php on line %d bool(true) array(7) { ["count"]=> -- 2.40.0