File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change 1212 push :
1313 branches :
1414 - master
15+ - testing
1516
1617jobs :
1718 test :
Original file line number Diff line number Diff line change 1+ require 'resolv'
12require_relative '../test_helper'
23
34class TestBindIntegration < LDAPIntegrationTestCase
@@ -50,7 +51,7 @@ def test_bind_tls_with_cafile
5051 def test_bind_tls_with_bad_hostname_no_verify_hostname_no_ca_passes
5152 omit_unless TLS_OPTS . key? ( :verify_hostname )
5253
53- @ldap . host = '127.0.0.1'
54+ @ldap . host = Resolv . getaddress ( INTEGRATION_HOSTNAME )
5455 @ldap . encryption (
5556 method : :start_tls ,
5657 tls_options : { verify_mode : OpenSSL ::SSL ::VERIFY_PEER ,
@@ -64,7 +65,7 @@ def test_bind_tls_with_bad_hostname_no_verify_hostname_no_ca_passes
6465 def test_bind_tls_with_bad_hostname_no_verify_hostname_no_ca_opt_merge_passes
6566 omit_unless TLS_OPTS . key? ( :verify_hostname )
6667
67- @ldap . host = '127.0.0.1'
68+ @ldap . host = Resolv . getaddress ( INTEGRATION_HOSTNAME )
6869 @ldap . encryption (
6970 method : :start_tls ,
7071 tls_options : TLS_OPTS . merge ( verify_mode : OpenSSL ::SSL ::VERIFY_PEER ,
You can’t perform that action at this time.
0 commit comments