Skip to content

Commit 07adb9b

Browse files
authored
Update test to reflect verify_mode
1 parent b52284c commit 07adb9b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/ldap_test.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ def test_start_tls
3939
end
4040

4141
def test_tls_validation
42-
assert_equal({ method: :start_tls, tls_options: OpenSSL::SSL::VERIFY_PEER },
42+
assert_equal({ method: :start_tls, tls_options: { verify_mode: OpenSSL::SSL::VERIFY_PEER } },
4343
@ldap.check_encryption(:tls, true))
4444
assert_equal({ method: :start_tls, tls_options: {} },
4545
@ldap.check_encryption(:tls, false))

0 commit comments

Comments
 (0)