summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--t/ldap.t6
1 files changed, 4 insertions, 2 deletions
diff --git a/t/ldap.t b/t/ldap.t
index 9aa775b..f3aace1 100644
--- a/t/ldap.t
+++ b/t/ldap.t
@@ -33,8 +33,10 @@ print "not " unless $uri->as_string eq "ldap://ldap.itd.umich.edu/o=University%2
print "ok 7\n";
# check defaults
-print "not " unless $uri->scope eq "base" &&
- $uri->filter eq "(objectClass=*)";
+print "not " unless $uri->_scope eq "" &&
+ $uri->scope eq "base" &&
+ $uri->_filter eq "" &&
+ $uri->filter eq "(objectClass=*)";
print "ok 8\n";
# attribute