From 7f61bbae440fb061d8decafc2e3532f9280a2ad4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mat=C3=BA=C5=A1=20Ferech?= Date: Thu, 3 Aug 2023 13:15:45 +0200 Subject: [PATCH] Remove redundant test Omited TLS config is the same as empty TLS config. It will default to the same value. --- provider/pdns/pdns_test.go | 9 --------- 1 file changed, 9 deletions(-) diff --git a/provider/pdns/pdns_test.go b/provider/pdns/pdns_test.go index 37799852b..c53dc57e5 100644 --- a/provider/pdns/pdns_test.go +++ b/provider/pdns/pdns_test.go @@ -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{