summaryrefslogtreecommitdiff
path: root/internal/api/api_test.go
diff options
context:
space:
mode:
authorjwijenbergh <jeroenwijenbergh@protonmail.com>2024-10-25 15:27:23 +0200
committerJeroen Wijenbergh <46386452+jwijenbergh@users.noreply.github.com>2024-10-28 17:02:14 +0100
commit0076386bca8b1e49673f50323cd147ac080cfc2f (patch)
tree15aa6ee6cf752db189e0b2b6f75376c9644d384d /internal/api/api_test.go
parent8cd50acd5c961bd9c52f1fcbaf18ddc1015accd0 (diff)
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
Diffstat (limited to 'internal/api/api_test.go')
-rw-r--r--internal/api/api_test.go2
1 files changed, 1 insertions, 1 deletions
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}