From ff434f45151916f1cd0587fe89eaa629c7fc8f25 Mon Sep 17 00:00:00 2001 From: jubnl Date: Wed, 15 Apr 2026 08:12:22 +0200 Subject: [PATCH] fix: discord links in tests --- client/src/components/Admin/GitHubPanel.test.tsx | 2 +- client/src/components/Settings/AboutTab.test.tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/client/src/components/Admin/GitHubPanel.test.tsx b/client/src/components/Admin/GitHubPanel.test.tsx index 617bdd88..57b6d131 100644 --- a/client/src/components/Admin/GitHubPanel.test.tsx +++ b/client/src/components/Admin/GitHubPanel.test.tsx @@ -68,7 +68,7 @@ describe('GitHubPanel', () => { expect(bmc).toHaveAttribute('rel', 'noopener noreferrer'); const discord = screen.getByText('Discord').closest('a')!; - expect(discord).toHaveAttribute('href', 'https://discord.gg/nSdKaXgN'); + expect(discord).toHaveAttribute('href', 'https://discord.gg/NhZBDSd4qW'); expect(discord).toHaveAttribute('target', '_blank'); expect(discord).toHaveAttribute('rel', 'noopener noreferrer'); }); diff --git a/client/src/components/Settings/AboutTab.test.tsx b/client/src/components/Settings/AboutTab.test.tsx index 30b0c5c9..d9c55bb2 100644 --- a/client/src/components/Settings/AboutTab.test.tsx +++ b/client/src/components/Settings/AboutTab.test.tsx @@ -34,7 +34,7 @@ describe('AboutTab', () => { it('FE-COMP-ABOUT-005: displays Discord link with correct href', () => { render(); const link = screen.getByText('Discord').closest('a'); - expect(link).toHaveAttribute('href', 'https://discord.gg/nSdKaXgN'); + expect(link).toHaveAttribute('href', 'https://discord.gg/NhZBDSd4qW'); }); it('FE-COMP-ABOUT-006: displays bug report link', () => {