From 4594bad232ba504f4e5a507cd82be9ed98957891 Mon Sep 17 00:00:00 2001 From: Samreet Singh Date: Thu, 5 Mar 2026 15:59:10 +0100 Subject: [PATCH] Update test assertions for nikto Signed-off-by: Samreet Singh --- scanners/nikto/integration-tests/nikto.test.js | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/scanners/nikto/integration-tests/nikto.test.js b/scanners/nikto/integration-tests/nikto.test.js index 4e8521ef7d..caa87b130a 100644 --- a/scanners/nikto/integration-tests/nikto.test.js +++ b/scanners/nikto/integration-tests/nikto.test.js @@ -22,15 +22,13 @@ test( expect(categories).toMatchInlineSnapshot(` { "Identified Software": 1, - "Nikto Finding": 3, - "Potential Vulnerability": 12, - "X-Content-Type-Options Header": 1, + "Potential Vulnerability": 15, } `); expect(severities).toMatchInlineSnapshot(` { - "high": 12, - "informational": 5, + "high": 15, + "informational": 1, } `); },