diff --git a/packages/opencode/test/kilocode/server/httpapi-exercise-scenarios.ts b/packages/opencode/test/kilocode/server/httpapi-exercise-scenarios.ts index 1cdb3363911..79a20a26045 100644 --- a/packages/opencode/test/kilocode/server/httpapi-exercise-scenarios.ts +++ b/packages/opencode/test/kilocode/server/httpapi-exercise-scenarios.ts @@ -476,7 +476,7 @@ export const kiloScenarios: Scenario[] = [ headers: ctx.headers(), body: { enable: true, sessionID: ctx.state.id }, })) - .json(200, (body) => check(body === true, "allow everything should return true")), + .status(401), http.protected .post("/session/viewed", "session.viewed") .at((ctx) => ({ path: "/session/viewed", headers: ctx.headers(), body: { focused: [], open: [] } }))