Skip to content

Commit

Permalink
ci: fix integration tests (#1474)
Browse files Browse the repository at this point in the history
Signed-off-by: Salim Afiune Maya <[email protected]>
  • Loading branch information
afiune authored Dec 7, 2023
1 parent 868a452 commit 03bdf6b
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.2")
out, err, exitcode := LaceworkCLIWithTOMLConfig("compliance", "aws", "get-report", account, "--type", "AWS_CIS_14", "2.1.1")

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 03bdf6b

Please sign in to comment.