Skip to content

Commit c0f6638

Browse files
VIA-599 AS/SB Redirect from / to /check-and-book-vaccinations
1 parent f0d6485 commit c0f6638

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

.env.template

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ AUTH_URL=https://localhost:3000
3939
AUTH_SECRET=some-random-secret-works
4040

4141
# Playwright tests
42-
TEST_APP_URL=https://localhost:3000/check-and-book-rsv
42+
TEST_APP_URL=https://localhost:3000/check-and-book-vaccinations
4343
TEST_NHS_APP_URL=https://<fake-sso-app>/auth/login?vita=https://localhost:3000
4444
TEST_NHS_APP_USERNAME=
4545
TEST_NHS_APP_PASSWORD=

src/app/_components/nhs-frontend/AppHeader.test.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ describe("AppHeader", () => {
6464
name: `NHS ${SERVICE_HEADING} homepage`,
6565
});
6666

67-
expect(logoAndServiceLink?.getAttribute("href")).toEqual("/check-and-book-rsv");
67+
expect(logoAndServiceLink?.getAttribute("href")).toEqual("/check-and-book-vaccinations");
6868
});
6969

7070
it("logs out on click", async () => {

src/app/constants.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
export const VACCINATIONS_HUB_PAGE_ROUTE = "/check-and-book-rsv";
1+
export const VACCINATIONS_HUB_PAGE_ROUTE = "/check-and-book-vaccinations";
22
export const SERVICE_HEADING = "Check and book vaccinations";
33
export const VACCINES_FOR_ALL_AGES_PAGE = "Vaccines for all ages";
44
export const NHS_TITLE_SUFFIX = "NHS";

0 commit comments

Comments
 (0)