Skip to content

Commit

Permalink
Change: Update manual links for VTs pages
Browse files Browse the repository at this point in the history
Point to the new anchor.
  • Loading branch information
bjoernricks committed Jul 25, 2023
1 parent 39a1596 commit c94748c
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions src/web/pages/nvts/__tests__/detailspage.js
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down Expand Up @@ -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();

Expand Down
2 changes: 1 addition & 1 deletion src/web/pages/nvts/__tests__/listpage.js
Original file line number Diff line number Diff line change
Expand Up @@ -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',
);
});
});
2 changes: 1 addition & 1 deletion src/web/pages/nvts/detailspage.js
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ export let ToolBarIcons = ({
<IconDivider>
<ManualIcon
page="managing-secinfo"
anchor="network-vulnerability-tests-nvt"
anchor="vulnerability-tests-vt"
title={_('Help: NVTs')}
/>
<ListIcon title={_('NVT List')} page="nvts" />
Expand Down
2 changes: 1 addition & 1 deletion src/web/pages/nvts/listpage.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ import NvtsDashboard, {NVTS_DASHBOARD_ID} from './dashboard';
export const ToolBarIcons = () => (
<ManualIcon
page="managing-secinfo"
anchor="network-vulnerability-tests-nvt"
anchor="vulnerability-tests-vt"
title={_('Help: NVTs')}
/>
);
Expand Down

0 comments on commit c94748c

Please sign in to comment.