{"agent":"claude","input":"Write handler tests for the Fiber v3 authentication API in this repository. Read the router, handlers, middleware, services, models and database package first. Cover register (success, blank field, invalid email, duplicate email), login (wrong password, success with the jwt cookie's HttpOnly and expiry), refresh-token rotation (the old token must fail on reuse), logout revoking refresh tokens, and the protected /api/users/:id routes with no header, a malformed header, another user's id and the owner's id, asserting the exact status codes and messages the handlers return. Use app.Test as the unit-test example in this repository does, with testify. Replace the Postgres connection in tests with an in-memory SQLite database through a pure-Go driver assigned to the package-level DB, run the same AutoMigrate, and set SECRET with t.Setenv. Do not change handler behaviour; if a test exposes a bug, keep the test red and describe it. Run go vet, gofumpt, the Makefile lint target and go test, and include the output. Open a pull request.","resources":[{"url":"https://github.com/your-org/your-app"}]}