Remove unused captured state and orphan helpers
This commit is contained in:
@@ -62,7 +62,7 @@ func TestReachabilityProbeRemovesURLCredentials(t *testing.T) {
|
||||
if observed == nil || observed.URL.User != nil || observed.Header.Get("Authorization") != "" {
|
||||
t.Fatalf("probe request retained URL credentials: %+v", observed)
|
||||
}
|
||||
if result.initialEndpoint != "https://example.invalid/health?check=1" || result.evidence.CredentialsSupplied {
|
||||
if result.evidence.Endpoint != "https://example.invalid/health?check=1" || result.evidence.CredentialsSupplied {
|
||||
t.Fatalf("credential-free evidence = %+v", result)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user