From 1f2ea9f5cc7f20ef59917b22f7cb37eca90c40c4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn=20Ricks?= Date: Tue, 25 Jul 2023 10:33:24 +0200 Subject: [PATCH] Change: Update manual links for VTs pages Point to the new anchor. --- src/web/pages/nvts/__tests__/detailspage.js | 4 ++-- src/web/pages/nvts/__tests__/listpage.js | 2 +- src/web/pages/nvts/detailspage.js | 2 +- src/web/pages/nvts/listpage.js | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/web/pages/nvts/__tests__/detailspage.js b/src/web/pages/nvts/__tests__/detailspage.js index a76d534b6d..21524ab047 100644 --- a/src/web/pages/nvts/__tests__/detailspage.js +++ b/src/web/pages/nvts/__tests__/detailspage.js @@ -294,7 +294,7 @@ describe('Nvt Detailspage tests', () => { expect(screen.getAllByTitle('Help: NVTs')[0]).toBeInTheDocument(); expect(links[0]).toHaveAttribute( 'href', - 'test/en/managing-secinfo.html#network-vulnerability-tests-nvt', + 'test/en/managing-secinfo.html#vulnerability-tests-vt', ); expect(screen.getAllByTitle('NVT List')[0]).toBeInTheDocument(); @@ -475,7 +475,7 @@ describe('Nvt ToolBarIcons tests', () => { expect(links[0]).toHaveAttribute( 'href', - 'test/en/managing-secinfo.html#network-vulnerability-tests-nvt', + 'test/en/managing-secinfo.html#vulnerability-tests-vt', ); expect(screen.getAllByTitle('Help: NVTs')[0]).toBeInTheDocument(); diff --git a/src/web/pages/nvts/__tests__/listpage.js b/src/web/pages/nvts/__tests__/listpage.js index ca6f425538..38cc78aec4 100644 --- a/src/web/pages/nvts/__tests__/listpage.js +++ b/src/web/pages/nvts/__tests__/listpage.js @@ -472,7 +472,7 @@ describe('NvtsPage ToolBarIcons test', () => { expect(screen.getAllByTitle('Help: NVTs')[0]).toBeInTheDocument(); expect(links[0]).toHaveAttribute( 'href', - 'test/en/managing-secinfo.html#network-vulnerability-tests-nvt', + 'test/en/managing-secinfo.html#vulnerability-tests-vt', ); }); }); diff --git a/src/web/pages/nvts/detailspage.js b/src/web/pages/nvts/detailspage.js index 707fb3541e..ee07516158 100644 --- a/src/web/pages/nvts/detailspage.js +++ b/src/web/pages/nvts/detailspage.js @@ -85,7 +85,7 @@ export let ToolBarIcons = ({ diff --git a/src/web/pages/nvts/listpage.js b/src/web/pages/nvts/listpage.js index 8e182abac3..47e2a0a0e5 100644 --- a/src/web/pages/nvts/listpage.js +++ b/src/web/pages/nvts/listpage.js @@ -45,7 +45,7 @@ import NvtsDashboard, {NVTS_DASHBOARD_ID} from './dashboard'; export const ToolBarIcons = () => ( );