Skip to content

Commit

Permalink
ci: fix TestComplianceAwsGetReportRecommendationID (#1592)
Browse files Browse the repository at this point in the history
  • Loading branch information
PengyuanZhao authored Mar 14, 2024
1 parent f686add commit e076880
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion integration/compliance_aws_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,7 @@ func _TestComplianceAwsGetAllReportType(t *testing.T) {
}
func TestComplianceAwsGetReportRecommendationID(t *testing.T) {
account := os.Getenv("LW_INT_TEST_AWS_ACC")
out, err, exitcode := LaceworkCLIWithTOMLConfig("compliance", "aws", "get-report", account, "--type", "AWS_CIS_14", "2.1.1")
out, err, exitcode := LaceworkCLIWithTOMLConfig("compliance", "aws", "get-report", account, "--type", "AWS_CIS_14", "lacework-global-34")

assert.Contains(t, err.String(), "--type has been deprecated,")
assert.Equal(t, 0, exitcode, "EXITCODE is not the expected one")
Expand Down

0 comments on commit e076880

Please sign in to comment.