Skip to content

Commit

Permalink
test(misconf): skip downloading of policies for tests aquasecurity#4126
Browse files Browse the repository at this point in the history
  • Loading branch information
DmitriyLewen authored Apr 27, 2023
1 parent 845ae31 commit 27fb1bf
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pkg/cloud/aws/commands/run_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -345,6 +345,7 @@ func Test_Run(t *testing.T) {
PolicyNamespaces: []string{
"user",
},
SkipPolicyUpdate: true,
},
},
regoPolicy: `# METADATA
Expand Down Expand Up @@ -673,6 +674,7 @@ deny[res] {
Format: "table",
ReportFormat: "summary",
},
RegoOptions: flag.RegoOptions{SkipPolicyUpdate: true},
},
cacheContent: exampleS3Cache,
want: `
Expand Down

0 comments on commit 27fb1bf

Please sign in to comment.