test/integration/test_bind.rb in net-ldap-0.16.2 vs test/integration/test_bind.rb in net-ldap-0.16.3

- old
+ new

@@ -1,9 +1,8 @@ require_relative '../test_helper' class TestBindIntegration < LDAPIntegrationTestCase - INTEGRATION_HOSTNAME = 'ldap.example.org'.freeze def test_bind_success assert @ldap.bind(BIND_CREDS), @ldap.get_operation_result.inspect @@ -26,10 +25,10 @@ result = @ldap.get_operation_result assert_equal Net::LDAP::ResultCodeUnwillingToPerform, result.code assert_equal Net::LDAP::ResultStrings[Net::LDAP::ResultCodeUnwillingToPerform], result.message assert_equal "unauthenticated bind (DN with no password) disallowed", - result.error_message + result.error_message assert_equal "", result.matched_dn end def test_bind_fail refute @ldap.bind(BIND_CREDS.merge(password: "not my password")),