style: gofmt
ci / shared (pull_request) Failing after 2s
ci / test (pull_request) Successful in 1m41s
ci / image (pull_request) Has been skipped

This commit is contained in:
2026-05-19 13:40:30 +02:00
parent 55366f8d47
commit 5b5c16aa90
+9 -9
View File
@@ -16,16 +16,16 @@ import (
// paths the HTTPAdapter actually calls. Each path is a single handler that // paths the HTTPAdapter actually calls. Each path is a single handler that
// asserts the request shape and returns the bare-minimum valid response. // asserts the request shape and returns the bare-minimum valid response.
type stubKC struct { type stubKC struct {
srv *httptest.Server srv *httptest.Server
tokenCalls atomic.Int32 tokenCalls atomic.Int32
orgCalls atomic.Int32 orgCalls atomic.Int32
userCalls atomic.Int32 userCalls atomic.Int32
memberCalls atomic.Int32 memberCalls atomic.Int32
emailCalls atomic.Int32 emailCalls atomic.Int32
healthCalls atomic.Int32 healthCalls atomic.Int32
syncCalls atomic.Int32 syncCalls atomic.Int32
tokenFails atomic.Bool // when true, /token returns 401 once tokenFails atomic.Bool // when true, /token returns 401 once
} }
func newStubKC(t *testing.T) *stubKC { func newStubKC(t *testing.T) *stubKC {