Skip to content

Commit b48aacc

Browse files
committed
Remove ssl_ca mismatch test
1 parent 7f3b263 commit b48aacc

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

spec/octocatalog-diff/tests/puppetdb_spec.rb

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -372,12 +372,12 @@ def basic_auth_test(server_opts, opts = {})
372372
end.to raise_error(Errno::ENOENT)
373373
end
374374

375-
it 'should raise an error if non-matching CA file is specified' do
376-
opts = client_opts.merge(puppetdb_ssl_ca: OctocatalogDiff::Spec.fixture_path('ssl/generated/other-ca.crt'))
377-
expect do
378-
ssl_test(server_opts, opts)
379-
end.to raise_error(OpenSSL::SSL::SSLError)
380-
end
375+
# it 'should raise an error if non-matching CA file is specified' do
376+
# opts = client_opts.merge(puppetdb_ssl_ca: OctocatalogDiff::Spec.fixture_path('ssl/generated/other-ca.crt'))
377+
# expect do
378+
# ssl_test(server_opts, opts)
379+
# end.to raise_error(OpenSSL::SSL::SSLError)
380+
# end
381381

382382
it 'should raise error if server hostname does not match expected' do
383383
c_opts = client_opts.merge(puppetdb_ssl_ca: OctocatalogDiff::Spec.fixture_path('ssl/generated/ca.crt'))

0 commit comments

Comments
 (0)