Skip to content

Commit 2352d5b

Browse files
changed-flag-name-in-ut
1 parent 3a7fa53 commit 2352d5b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

internal/commands/predicates_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -445,7 +445,7 @@ func TestRunShowTriageCommandForSCAWithMultipleProjects(t *testing.T) {
445445
"MOCK1,MOCK2",
446446
"--scan-type",
447447
"sca",
448-
"--vulnerabilities",
448+
"--vulnerability-identifiers",
449449
"packageName=lodash,packageVersion=4.17.20,packageManager=npm",
450450
)
451451
assert.ErrorContains(t, err, "Multiple project-ids are not allowed")
@@ -700,7 +700,7 @@ func TestRunUpdateTriageCommandForSCA(t *testing.T) {
700700
"--project-id", "MOCK",
701701
"--state", "NOT_EXPLOITABLE",
702702
"--scan-type", "sca",
703-
"--vulnerabilities", "packageName=lodash,packageVersion=4.17.20,packageManager=npm",
703+
"--vulnerability-identifiers", "packageName=lodash,packageVersion=4.17.20,packageManager=npm",
704704
"--comment", "Testing SCA update",
705705
})
706706

0 commit comments

Comments
 (0)