Skip to content

Commit

Permalink
fix: update cloudflare tests to match current debug log format
Browse files Browse the repository at this point in the history
  • Loading branch information
tphakala committed Jan 9, 2025
1 parent b1cbffa commit 33c4007
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions internal/security/cloudflare_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -318,9 +318,9 @@ func TestFetchCertsLogging(t *testing.T) {
}

expectedLogs := []string{
fmt.Sprintf("Fetching Cloudflare certs from URL: %s/cdn-cgi/access/certs", server.URL),
"Added certificate with Kid: 1234",
"Added certificate with Kid: 5678",
fmt.Sprintf("[security/cloudflare] Fetching Cloudflare certs from URL: %s/cdn-cgi/access/certs", server.URL),
"[security/cloudflare] Added certificate with Kid: 1234",
"[security/cloudflare] Added certificate with Kid: 5678",
}

for i, logMsg := range logs {
Expand Down

0 comments on commit 33c4007

Please sign in to comment.