diff --git a/pkg/apiserver/webhooks_test.go b/pkg/apiserver/webhooks_test.go index 84aad665..da65672f 100644 --- a/pkg/apiserver/webhooks_test.go +++ b/pkg/apiserver/webhooks_test.go @@ -106,6 +106,7 @@ func TestValidateDeletion(t *testing.T) { require.NoError(t, err) request.Body = io.NopCloser(bytes.NewReader(body)) + validateDeletion(response, request) require.Equal(t, "did not receive PackageRevision, got not-a-package-revision",