Versions in this module Expand all Collapse all v1 v1.1.0 Nov 7, 2026 v1.0.0 Nov 7, 2026 Changes in this version + func Context(account, user uuid.UUID, roles ...string) context.Context + func OperatorContext(user uuid.UUID) context.Context + type Harness struct + App *fiber.App + Headers map[string]string + T *testing.T + func Mount(t *testing.T, prefix string, apps ...module.App) *Harness + func New(t *testing.T, app *fiber.App) *Harness + func (h *Harness) Delete(path string) Response + func (h *Harness) Do(method, path string, body any) Response + func (h *Harness) Get(path string) Response + func (h *Harness) Patch(path string, body any) Response + func (h *Harness) Post(path string, body any) Response + func (h *Harness) Put(path string, body any) Response + func (h *Harness) WithHeader(key, value string) *Harness + type Response struct + Body []byte + Data json.RawMessage + Meta response.Meta + Status int + func (r Response) Errors() []errs.Detail + func (r Response) ExpectCode(t *testing.T, want string) Response + func (r Response) ExpectFieldError(t *testing.T, field string) Response + func (r Response) ExpectStatus(t *testing.T, want int) Response + func (r Response) JSON(t *testing.T, dst any)