From f36aae0fc6b9168cfb4b48acf1673f0253186091 Mon Sep 17 00:00:00 2001 From: uo287841 Date: Thu, 25 Apr 2024 00:27:03 +0200 Subject: [PATCH] Modifies NavBarTest --- webapp/src/components/Navbar.test.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/webapp/src/components/Navbar.test.js b/webapp/src/components/Navbar.test.js index f0d5e2c..0e80380 100644 --- a/webapp/src/components/Navbar.test.js +++ b/webapp/src/components/Navbar.test.js @@ -27,7 +27,7 @@ describe('Navbar', () => { expect(getByText('Play')).toBeInTheDocument(); expect(getByText('Rankings')).toBeInTheDocument(); expect(getByText('UserProfile')).toBeInTheDocument(); - expect(getByText('Logout')).toBeInTheDocument(); + expect(getByText('Log out')).toBeInTheDocument(); }); it('renders unauthenticated user links and sign-in link', () => { @@ -41,7 +41,7 @@ describe('Navbar', () => { expect(getByText('WIQ')).toBeInTheDocument(); expect(getByText('Play')).toBeInTheDocument(); expect(getByText('Rankings')).toBeInTheDocument(); - expect(getByText('Sign in')).toBeInTheDocument(); + expect(getByText('Log In')).toBeInTheDocument(); }); });