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:
Matúš Ferech 2023-08-03 13:15:45 +02:00
parent 2d34694860
commit 7f61bbae44
No known key found for this signature in database
GPG Key ID: 15EDB1A9BD707CEC

View File

@ -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{