Skip to content

Commit 9bcdd2a

Browse files
author
Côme Bernigaud
committed
Fixed two errors in LDAP tests
1 parent 9e15ce9 commit 9bcdd2a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

ext/ldap/tests/ldap_delete_basic.phpt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ require "connect.inc";
3232

3333
$link = ldap_connect_and_bind($host, $port, $user, $passwd, $protocol_version);
3434

35-
ldap_delete($link, "$base");
35+
ldap_delete($link, "dc=my-domain,$base");
3636
?>
3737
--EXPECT--
3838
bool(true)

ext/ldap/tests/ldap_get_entries_basic.phpt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ array(2) {
5757
["count"]=>
5858
int(2)
5959
["dn"]=>
60-
string(23) "o=test,dc=mcmic,dc=test"
60+
string(%d) "o=test,%s"
6161
}
6262
}
6363
===DONE===

0 commit comments

Comments
 (0)