Skip to content

Commit

Permalink
tests and refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
nbys committed Feb 4, 2022
1 parent 0458efb commit 8c2e113
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/acme/dns_challenge_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -1087,12 +1087,12 @@ func TestDNSChallenge_presentRecords(t *testing.T) {
{"add records failed",
fields{records: []dnsprovider.Record{{Domain: "mycompany-6.com"}},
addedRecords: []dnsprovider.Record{},
removedRecords: []dnsprovider.Record{}},
removedRecords: []dnsprovider.Record{{Domain: "mycompany-6.com"}}},
true},
{"one record added, one failed",
fields{records: []dnsprovider.Record{{Domain: "mycompany-0.com"}, {Domain: "mycompany-6.com"}},
addedRecords: []dnsprovider.Record{{Domain: "mycompany-0.com"}},
removedRecords: []dnsprovider.Record{{Domain: "mycompany-0.com"}}},
removedRecords: []dnsprovider.Record{{Domain: "mycompany-0.com"}, {Domain: "mycompany-6.com"}}},
true},
}
for _, tt := range tests {
Expand Down

0 comments on commit 8c2e113

Please sign in to comment.