Skip to content

Commit

Permalink
Remove irrelevant test failure for FetchAllCertificates
Browse files Browse the repository at this point in the history
  • Loading branch information
eggsampler committed Sep 6, 2020
1 parent f3f5c46 commit 8151808
Showing 1 changed file with 0 additions and 13 deletions.
13 changes: 0 additions & 13 deletions certificate_test.go
Expand Up @@ -36,19 +36,6 @@ func TestClient_FetchAllCertificates(t *testing.T) {
if len(certs) == 1 {
t.Skip("no alternative root certificates")
}

for url1, certs1 := range certs {
for url2, certs2 := range certs {
if url2 == url1 {
continue
}
root1 := certs1[len(certs1)-1].Issuer.String()
root2 := certs2[len(certs2)-1].Issuer.String()
if root1 == root2 {
t.Fatalf("same root on cetificates: %s", root1)
}
}
}
}

func TestClient_RevokeCertificate(t *testing.T) {
Expand Down

0 comments on commit 8151808

Please sign in to comment.