test: expect concealed attachment issue reads

Co-Authored-By: Paperclip <noreply@paperclip.ing>
This commit is contained in:
DottaandPaperclip committed 2026-08-01 22:54:01 +00:00
1 parent 15c7eff282
commit e4e5d3cfef
1 file changed
+2 -1
@@ -624,7 +624,8 @@ describe("issue attachment routes", () => {
const app = await createApp(storage);
const res = await request(app).get("/api/attachments/attachment-1/content");
expect(res.status).toBe(403);
expect(res.status).toBe(404);
expect(res.body.error).toBe("Issue not found");
expect(storage.getObject).not.toHaveBeenCalled();
});