Skip to content

Commit fd8aff7

Browse files
committed
Merge pull request #221 from satoryu/support_integration_port_env
Specify the port of LDAP server by giving INTEGRATION_PORT
2 parents d27c084 + f950eca commit fd8aff7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/test_helper.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ def setup
5656
@service = MockInstrumentationService.new
5757
@ldap = Net::LDAP.new \
5858
host: ENV.fetch('INTEGRATION_HOST', 'localhost'),
59-
port: 389,
59+
port: ENV.fetch('INTEGRATION_PORT', 389),
6060
admin_user: 'uid=admin,dc=rubyldap,dc=com',
6161
admin_password: 'passworD1',
6262
search_domains: %w(dc=rubyldap,dc=com),

0 commit comments

Comments
 (0)