test/ldap_test.rb in github-ldap-1.8.0 vs test/ldap_test.rb in github-ldap-1.8.1
- old
+ new
@@ -78,10 +78,10 @@
assert_equal GitHub::Ldap::MemberSearch::Recursive, @ldap.member_search_strategy
end
def test_search_strategy_detects_active_directory
caps = Net::LDAP::Entry.new
- caps[:supportedcapabilities] = [GitHub::Ldap::ACTIVE_DIRECTORY_V61_R2_OID]
+ caps[:supportedcapabilities] = [GitHub::Ldap::ACTIVE_DIRECTORY_V51_OID]
@ldap.stub :capabilities, caps do
@ldap.configure_search_strategy :detect
assert_equal GitHub::Ldap::MembershipValidators::ActiveDirectory, @ldap.membership_validator