From 0076386bca8b1e49673f50323cd147ac080cfc2f Mon Sep 17 00:00:00 2001 From: jwijenbergh Date: Fri, 25 Oct 2024 15:27:23 +0200 Subject: API + HTTP + Exports: Cleaner TLS1.3 enforcement using a custom DefaultTransport Also fix where TLS 1.3 was not properly enforced for the endpoint cache --- internal/api/api_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'internal/api/api_test.go') diff --git a/internal/api/api_test.go b/internal/api/api_test.go index 2d17e96..f15bac4 100644 --- a/internal/api/api_test.go +++ b/internal/api/api_test.go @@ -199,7 +199,7 @@ func createTestAPI(t *testing.T, tok *eduoauth.Token, gt []string, hps []test.Ha return in, nil }, DisableAuthorize: false, - Transport: servc.Client.Transport, + transport: servc.Client.Transport, } tc := &TestCallback{t: t} -- cgit v1.2.3