Skip to content

Commit ba225a9

Browse files
committed
we don't need vagrant specific tests anymore
all environments run the same set of tests, no env specific test
1 parent 1b595b2 commit ba225a9

File tree

1 file changed

+0
-19
lines changed

1 file changed

+0
-19
lines changed

test/integration/test_bind.rb

Lines changed: 0 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -219,23 +219,4 @@ def test_bind_tls_valid_hostname_system_ca_on_travis_passes
219219
assert @ldap.bind(BIND_CREDS),
220220
@ldap.get_operation_result.inspect
221221
end
222-
223-
# Inverse of the above! Don't run this on Travis, only on Vagrant.
224-
# Since Vagrant's hypervisor *won't* have the CA in the system
225-
# x509 store, we can assume validation will fail
226-
def test_bind_tls_valid_hostname_system_on_vagrant_fails
227-
omit_if ENV['TRAVIS'] == 'true'
228-
229-
@ldap.encryption(
230-
method: :start_tls,
231-
tls_options: { verify_mode: OpenSSL::SSL::VERIFY_PEER },
232-
)
233-
error = assert_raise Net::LDAP::Error do
234-
@ldap.bind BIND_CREDS
235-
end
236-
assert_equal(
237-
"SSL_connect returned=1 errno=0 state=error: certificate verify failed",
238-
error.message,
239-
)
240-
end
241222
end

0 commit comments

Comments
 (0)