Skip to content

Commit

Permalink
fix: test was missing parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
mxab committed Dec 30, 2023
1 parent 03ec0c1 commit 2cbddc6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion admissionctrl/notation/notation_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ func TestVerifyImage(t *testing.T) {

truststore := truststore.NewX509TrustStore(dir.NewSysFS(truststoreDir))

imageVerifer, err := NewImageVerifier(policy(), truststore, true, hclog.NewNullLogger())
imageVerifer, err := NewImageVerifier(policy(), truststore, true, 50, hclog.NewNullLogger())
require.NoError(t, err)

err = imageVerifer.VerifyImage(context.Background(), digest)
Expand Down

0 comments on commit 2cbddc6

Please sign in to comment.