From 0557c7290b2abc9e7b3e6355fde5c6a1db518f0c Mon Sep 17 00:00:00 2001 From: Maurice Date: Sat, 7 Nov 2026 12:16:00 +0100 Subject: [PATCH] test: the server section links the app's view of the privacy policy --- client/src/components/Settings/NativeServerSection.test.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/src/components/Settings/NativeServerSection.test.tsx b/client/src/components/Settings/NativeServerSection.test.tsx index 03467e9eb..bd188af77 100644 --- a/client/src/components/Settings/NativeServerSection.test.tsx +++ b/client/src/components/Settings/NativeServerSection.test.tsx @@ -36,7 +36,7 @@ describe.each([ vi.mocked(nativeServerHost).mockReturnValue('trek.example.com'); render(
); const link = screen.getByRole('link', { name: 'Privacy policy' }); - expect(link).toHaveAttribute('href', 'https://liketrek.com/privacy'); + expect(link).toHaveAttribute('href', 'https://liketrek.com/privacy?app=1'); expect(link).toHaveAttribute('target', '_blank'); }); });