From fff2f6744d7c8809939c8a4774296f954deb6477 Mon Sep 17 00:00:00 2001 From: tamarleviCm Date: Thu, 15 Aug 2024 15:04:40 +0300 Subject: [PATCH] scs --- test/integration/scan_test.go | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/test/integration/scan_test.go b/test/integration/scan_test.go index 0f5cc2730..05ed5a89d 100644 --- a/test/integration/scan_test.go +++ b/test/integration/scan_test.go @@ -873,10 +873,8 @@ func executeScanAssertions(t *testing.T, projectID, scanID string, tags map[stri func createScan(t *testing.T, source string, tags map[string]string) (string, string) { if isFFEnabled(t, wrappers.ContainerEngineCLIEnabled) { - return executeCreateScan(t, getCreateArgs(source, tags, "sast , sca , iac-security , api-security, container-security")) - return executeCreateScan(t, getCreateArgs(source, tags, "sast , sca , iac-security , api-security, scs, container-security")) + return executeCreateScan(t, getCreateArgs(source, tags, "sast , sca , iac-security , api-security, scs, container-security")) } else { - return executeCreateScan(t, getCreateArgs(source, tags, "sast , sca , iac-security , api-security")) return executeCreateScan(t, getCreateArgs(source, tags, "sast , sca , iac-security , api-security, scs")) } } @@ -1040,6 +1038,7 @@ func TestScanWorkflow(t *testing.T) { } cmd := createASTIntegrationTestCommand(t) err := execute(cmd, args...) + log.Println(err) assert.Assert(t, err != nil, "Failed showing a scan: response status code 404") }