Added unit tests for search-filters
This commit is contained in:
parent
ca38bfc803
commit
497e2be4e7
3 changed files with 55 additions and 14 deletions
|
@ -141,7 +141,7 @@ class TestLdapClient < Test::Unit::TestCase
|
|||
ldap = Net::LDAP.new :host => @host, :port => @port, :auth => @auth
|
||||
search = {
|
||||
:base => "dc=bayshorenetworks,dc=com",
|
||||
:filter => Net::LDAP::Filter.eq( "sn", "Verdon" )
|
||||
:filter => Net::LDAP::Filter.eq( "sn", "Fosse" )
|
||||
}
|
||||
|
||||
ldap.search( search ) {|res|
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue