diff --git a/pkg/commands/attest_test.go b/pkg/commands/attest_test.go index 0dd0b45..c957519 100644 --- a/pkg/commands/attest_test.go +++ b/pkg/commands/attest_test.go @@ -36,7 +36,7 @@ func TestAttestCosignCommand(t *testing.T) { out, err := o.Run([]string{"image"}, runner) assert.NoError(t, err) - expectedCmd := "[cosign attest --key mykey --predicate file.json --type slsaprovenance --rekor-url http://rekor.example.com --no-upload=false image]\n" + expectedCmd := "[cosign attest --key mykey --predicate file.json --type slsaprovenance --rekor-url http://rekor.example.com --yes image]\n" assert.Equal(t, expectedCmd, out) }