diff --git a/src/components/layout/forum-layout.test.tsx b/src/components/layout/forum-layout.test.tsx
index a2a8641..7aa59fa 100644
--- a/src/components/layout/forum-layout.test.tsx
+++ b/src/components/layout/forum-layout.test.tsx
@@ -165,9 +165,15 @@ describe('ForumLayout', () => {
expect(logos.length).toBeGreaterThan(0)
})
+ it('links footer your data to /p/your-data', () => {
+ render(Content)
+ const yourDataLink = screen.getByRole('link', { name: /your data/i })
+ expect(yourDataLink).toHaveAttribute('href', '/p/your-data')
+ })
+
it('links footer privacy to /p/privacy-policy', () => {
render(Content)
- const privacyLink = screen.getByRole('link', { name: /privacy/i })
+ const privacyLink = screen.getByRole('link', { name: /^privacy$/i })
expect(privacyLink).toHaveAttribute('href', '/p/privacy-policy')
})
diff --git a/src/components/layout/forum-layout.tsx b/src/components/layout/forum-layout.tsx
index 496a69c..7d4cc33 100644
--- a/src/components/layout/forum-layout.tsx
+++ b/src/components/layout/forum-layout.tsx
@@ -134,6 +134,11 @@ export function ForumLayout({ children, sidebar, publicSettings }: ForumLayoutPr