From ca1418fc0135d52a009ab218d6e24187fb355a3c Mon Sep 17 00:00:00 2001 From: Adam Mathes Date: Sat, 14 Feb 2026 09:09:10 -0800 Subject: security: implement CSRF protection and improve session cookie security (fixing NK-gfh33y) --- frontend/src/components/TagView.test.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'frontend/src/components/TagView.test.tsx') diff --git a/frontend/src/components/TagView.test.tsx b/frontend/src/components/TagView.test.tsx index 10872bc..8f7eb86 100644 --- a/frontend/src/components/TagView.test.tsx +++ b/frontend/src/components/TagView.test.tsx @@ -35,7 +35,7 @@ describe('Tag View Integration', () => { render( - + { }} /> ); @@ -81,6 +81,6 @@ describe('Tag View Integration', () => { const params = new URLSearchParams(); params.append('tag', 'Tech'); params.append('read_filter', 'unread'); - expect(global.fetch).toHaveBeenCalledWith(`/api/stream?${params.toString()}`); + expect(global.fetch).toHaveBeenCalledWith(`/api/stream?${params.toString()}`, expect.anything()); }); }); -- cgit v1.2.3