diff --git a/test/integration/test_bind.rb b/test/integration/test_bind.rb index a3fecf3f..bd1281e2 100644 --- a/test/integration/test_bind.rb +++ b/test/integration/test_bind.rb @@ -217,7 +217,7 @@ def test_bind_tls_valid_hostname_system_ca_on_travis_passes @ldap.encryption( method: :start_tls, - tls_options: TLS_OPTS.merge(verify_mode: OpenSSL::SSL::VERIFY_PEER), + tls_options: { verify_mode: OpenSSL::SSL::VERIFY_PEER }, ) assert @ldap.bind(BIND_CREDS), @ldap.get_operation_result.inspect @@ -231,7 +231,7 @@ def test_bind_tls_valid_hostname_system_on_vagrant_fails @ldap.encryption( method: :start_tls, - tls_options: TLS_OPTS.merge(verify_mode: OpenSSL::SSL::VERIFY_PEER), + tls_options: { verify_mode: OpenSSL::SSL::VERIFY_PEER }, ) error = assert_raise Net::LDAP::Error do @ldap.bind BIND_CREDS