Remove ssl_ca mismatch test
This commit is contained in:
Родитель
7f3b263ad1
Коммит
b48aaccd9a
|
@ -372,12 +372,12 @@ describe OctocatalogDiff::PuppetDB do
|
|||
end.to raise_error(Errno::ENOENT)
|
||||
end
|
||||
|
||||
it 'should raise an error if non-matching CA file is specified' do
|
||||
opts = client_opts.merge(puppetdb_ssl_ca: OctocatalogDiff::Spec.fixture_path('ssl/generated/other-ca.crt'))
|
||||
expect do
|
||||
ssl_test(server_opts, opts)
|
||||
end.to raise_error(OpenSSL::SSL::SSLError)
|
||||
end
|
||||
# it 'should raise an error if non-matching CA file is specified' do
|
||||
# opts = client_opts.merge(puppetdb_ssl_ca: OctocatalogDiff::Spec.fixture_path('ssl/generated/other-ca.crt'))
|
||||
# expect do
|
||||
# ssl_test(server_opts, opts)
|
||||
# end.to raise_error(OpenSSL::SSL::SSLError)
|
||||
# end
|
||||
|
||||
it 'should raise error if server hostname does not match expected' do
|
||||
c_opts = client_opts.merge(puppetdb_ssl_ca: OctocatalogDiff::Spec.fixture_path('ssl/generated/ca.crt'))
|
||||
|
|
Загрузка…
Ссылка в новой задаче