Skip to content

Commit 4594bad

Browse files
committed
Update test assertions for nikto
Signed-off-by: Samreet Singh <samreet.singh@iteratec.com>
1 parent c2546e7 commit 4594bad

1 file changed

Lines changed: 3 additions & 5 deletions

File tree

scanners/nikto/integration-tests/nikto.test.js

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -22,15 +22,13 @@ test(
2222
expect(categories).toMatchInlineSnapshot(`
2323
{
2424
"Identified Software": 1,
25-
"Nikto Finding": 3,
26-
"Potential Vulnerability": 12,
27-
"X-Content-Type-Options Header": 1,
25+
"Potential Vulnerability": 15,
2826
}
2927
`);
3028
expect(severities).toMatchInlineSnapshot(`
3129
{
32-
"high": 12,
33-
"informational": 5,
30+
"high": 15,
31+
"informational": 1,
3432
}
3533
`);
3634
},

0 commit comments

Comments
 (0)