fix(api): remove dead code in rbac test

Remove unused `app` variable from 'returns 403 when staff record is
not resolved' test - the test uses `testApp` instead.

Co-Authored-By: Paperclip <noreply@paperclip.ing>
This commit is contained in:
groombook-engineer[bot]
2026-04-02 11:11:08 +00:00
parent 804bb474d2
commit 01b090f258
-1
View File
@@ -289,7 +289,6 @@ describe("requireSuperUser", () => {
});
it("returns 403 when staff record is not resolved", async () => {
const app = buildWithStaff(MANAGER, requireSuperUser());
// Manually remove staff from context to simulate unresolved staff
const testApp = new Hono<AppEnv>();
testApp.use("*", async (c, next) => {