Skip to content

Commit

Permalink
e2e test fix
Browse files Browse the repository at this point in the history
  • Loading branch information
patilpankaj212 committed Apr 18, 2021
1 parent 267d172 commit 0425096
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/e2e/scan/scan_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ var _ = Describe("Scan", func() {
Context("iac loading errors would be displayed in the output, when log level is debug", func() {
When("log level is set to debug", func() {
It("scan the directory and display results", func() {
scanArgs := []string{scanUtils.ScanCommand, "-o", "json", "-l", "debug"}
scanArgs := []string{scanUtils.ScanCommand, "-o", "json", "-l", "debug", "-p", policyRootRelPath}
// these errors would come from terraform, helm, and kustomize iac providers
errString1 := "has no terraform config files"
errString2 := "kustomization.y(a)ml file not found in the directory"
Expand Down

0 comments on commit 0425096

Please sign in to comment.