mirror of
https://github.com/kubernetes-sigs/external-dns.git
synced 2026-05-05 06:36:11 +02:00
Remove redundant test
Omited TLS config is the same as empty TLS config. It will default to the same value.
This commit is contained in:
parent
2d34694860
commit
7f61bbae44
@ -718,15 +718,6 @@ func (suite *NewPDNSProviderTestSuite) TestPDNSProviderCreateTLS() {
|
||||
return err
|
||||
}
|
||||
|
||||
_, err := NewPDNSProvider(
|
||||
context.Background(),
|
||||
PDNSConfig{
|
||||
Server: "http://localhost:8081",
|
||||
APIKey: "foo",
|
||||
DomainFilter: endpoint.NewDomainFilter([]string{""}),
|
||||
})
|
||||
assert.Nil(suite.T(), err, "Omitted TLS Config case should raise no error")
|
||||
|
||||
assert.Nil(suite.T(), newProvider(TLSConfig{}), "Disabled TLS Config should raise no error")
|
||||
|
||||
assert.Nil(suite.T(), newProvider(TLSConfig{
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user