Skip to content

Commit a4b3ecc

Browse files
committed
Merge pull request ruby-ldap#221 from satoryu/support_integration_port_env
Specify the port of LDAP server by giving INTEGRATION_PORT
2 parents b2a0ac7 + 390fa7f commit a4b3ecc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/test_helper.rb

Lines changed: 1 addition & 1 deletion
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)