Skip to content

Commit

Permalink
fix for test compile error
Browse files Browse the repository at this point in the history
  • Loading branch information
myleshorton committed Nov 26, 2024
1 parent cc002f7 commit 41251ed
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test_support.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,13 +23,13 @@ func ConfigureForTest(t *testing.T) {
func ConfigureCachingForTest(t *testing.T, cacheFile string) {
certs := trustedCACerts(t)
p := testProviders()
NewFronter(certs, p, testProviderID, cacheFile)
NewFronted(certs, p, testProviderID, cacheFile)
}

func ConfigureHostAlaisesForTest(t *testing.T, hosts map[string]string) {
certs := trustedCACerts(t)
p := testProvidersWithHosts(hosts)
NewFronter(certs, p, testProviderID, "")
NewFronted(certs, p, testProviderID, "")
}

func trustedCACerts(t *testing.T) *x509.CertPool {
Expand Down

0 comments on commit 41251ed

Please sign in to comment.