Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Commit

Permalink
fix(attest_test): failing test
Browse files Browse the repository at this point in the history
  • Loading branch information
ybelMekk committed Apr 27, 2023
1 parent ee66678 commit 0eb63b8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/commands/attest_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}

Expand Down

0 comments on commit 0eb63b8

Please sign in to comment.