Skip to content

Commit

Permalink
update application assignments test
Browse files Browse the repository at this point in the history
  • Loading branch information
tamarleviCm committed Aug 15, 2024
1 parent 909d018 commit 60e08eb
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions test/integration/scan_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -292,16 +292,17 @@ func TestScanCreateEmptyProjectName(t *testing.T) {
}

func TestScanCreate_ExistingApplicationAndExistingProject_CreateScanSuccessfully(t *testing.T) {
projectId, projectName := createProject(t, nil, nil)
args := []string{
"scan", "create",
flag(params.ApplicationName), "my-application",
flag(params.ProjectName), "my-project",
flag(params.ProjectName), projectName,
flag(params.SourcesFlag), ".",
flag(params.ScanTypes), "sast",
flag(params.BranchFlag), "dummy_branch",
flag(params.DebugFlag),
}

defer deleteProject(t, projectId)
err, _ := executeCommand(t, args...)
assert.NilError(t, err)
}
Expand Down

0 comments on commit 60e08eb

Please sign in to comment.