mirror of
https://github.com/cert-manager/webhook-example.git
synced 2025-07-01 22:35:49 +02:00
Clean up code
This commit is contained in:
parent
2e5689895d
commit
21bb2a824d
1 changed files with 0 additions and 10 deletions
10
main_test.go
10
main_test.go
|
@ -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") != "" {
|
||||
|
|
Loading…
Reference in a new issue