Skip to content

Commit

Permalink
fix failing e2e-test
Browse files Browse the repository at this point in the history
  • Loading branch information
patilpankaj212 committed May 5, 2021
1 parent e11d575 commit 2213799
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/e2e/scan/scan_rules_filtering_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@ var _ = Describe("Scan command with rule filtering options", func() {
os.Setenv(terrascanConfigEnvName, "")
})
It("should scan and skip the rules as specified with --scan-rules and --skip-rules option", func() {
scanArgs := []string{"-p", policyDir, "-d", iacDir, "-o", "json"}
scanArgs := []string{"-p", policyDir, "-i", "terraform", "-d", iacDir, "-o", "json"}
scanUtils.RunScanAndAssertJSONOutput(terrascanBinaryPath, filepath.Join(ruleFilterGoldenRelPath, "scan_and_skip_rules.txt"), helper.ExitCodeThree, false, true, outWriter, errWriter, scanArgs...)
})
})
Expand Down

0 comments on commit 2213799

Please sign in to comment.