Skip to content

Commit

Permalink
test: fix broken iac test
Browse files Browse the repository at this point in the history
This test is too strict on checking number of issues, so we are removing the number in front of it.
  • Loading branch information
Ilianna Papastefanou committed Aug 17, 2022
1 parent fb365f3 commit 8f3572b
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions test/jest/acceptance/iac/output-formats/text.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -62,11 +62,7 @@ describe('iac test text output', () => {
const { stdout } = await run('snyk iac test ./iac/arm/rule_test.json');

expect(stdout).toContain(
'Issues' +
EOL.repeat(2) +
'Medium Severity Issues: 1' +
EOL.repeat(2) +
' [Medium] Azure Firewall Network Rule Collection allows public access' +
' [Medium] Azure Firewall Network Rule Collection allows public access' +
EOL +
' Info: That inbound traffic is allowed to a resource from any source instead of a restricted range. That potentially everyone can access your resource' +
EOL +
Expand Down

0 comments on commit 8f3572b

Please sign in to comment.