Skip to content

Commit 762198b

Browse files
J12934Weltraumschaf
authored andcommitted
Remove vague assertion
If the count is off the next assertions are way more helpful to find out why. Signed-off-by: Jannik Hollenbach <jannik.hollenbach@owasp.org>
1 parent 432aa87 commit 762198b

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

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

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ jest.retryTimes(3);
99
test(
1010
"nikto scan against bodgeit demo-target",
1111
async () => {
12-
const {categories, severities, count} = await scan(
12+
const {categories, severities} = await scan(
1313
"nikto-bodgeit",
1414
"nikto",
1515
[
@@ -21,7 +21,6 @@ test(
2121
90
2222
);
2323

24-
expect(count).toBe(12);
2524
expect(categories).toMatchInlineSnapshot(`
2625
{
2726
"Identified Software": 1,

0 commit comments

Comments
 (0)