Compare commits

...

1 Commits

Author SHA1 Message Date
sharang 4639915827 chore: gofmt
ci / image (pull_request) Has been skipped
ci / test (pull_request) Successful in 1m40s
ci / shared (pull_request) Successful in 6s
2026-05-19 13:40:43 +02:00
+9 -9
View File
@@ -16,16 +16,16 @@ import (
// paths the HTTPAdapter actually calls. Each path is a single handler that
// asserts the request shape and returns the bare-minimum valid response.
type stubKC struct {
srv *httptest.Server
tokenCalls atomic.Int32
orgCalls atomic.Int32
userCalls atomic.Int32
memberCalls atomic.Int32
emailCalls atomic.Int32
healthCalls atomic.Int32
syncCalls atomic.Int32
srv *httptest.Server
tokenCalls atomic.Int32
orgCalls atomic.Int32
userCalls atomic.Int32
memberCalls atomic.Int32
emailCalls atomic.Int32
healthCalls 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 {