Clean up code

This commit is contained in:
Gun Store 2020-12-01 21:41:10 +00:00
parent 2e5689895d
commit 21bb2a824d

View file

@ -34,7 +34,6 @@ func TestRunsSuite(t *testing.T) {
// The manifest path should contain a file named config.json that is a
// snippet of valid configuration that should be included on the
// ChallengeRequest passed as part of the test cases.
// t.Skip()
dnsResp := dynuclient.DNSResponse{
StatusCode: 200,
ID: 98765,
@ -65,10 +64,6 @@ func TestRunsSuite(t *testing.T) {
scenario: "DNS Record delete",
expected: "/v2/dns/123456/record/98765",
},
{ // why is cleanup running twice?
scenario: "DNS Record delete",
expected: "/v2/dns/123456/record/98765",
},
}
httpCall := 0
fqdn = "cert-manager-dns01-tests-with-secret." + zone
@ -125,7 +120,6 @@ func TestRunsSuite(t *testing.T) {
fixture.RunConformance(t)
}
func TestRunSuiteWithSecret(t *testing.T) {
//t.Skip()
dnsResp := dynuclient.DNSResponse{
StatusCode: 200,
ID: 98765,
@ -156,10 +150,6 @@ func TestRunSuiteWithSecret(t *testing.T) {
scenario: "DNS Record delete",
expected: "/v2/dns/123456/record/98765",
},
{ // why is cleanup running twice?
scenario: "DNS Record delete",
expected: "/v2/dns/123456/record/98765",
},
}
httpCall := 0
if os.Getenv("TEST_ZONE_NAME") != "" {