From 71ad192ced7ae5e06efb31ab70d9b4a035ed97a8 Mon Sep 17 00:00:00 2001 From: Shuting Zhao <shutting06@gmail.com> Date: Wed, 13 Nov 2019 00:37:34 -0800 Subject: [PATCH] fix test --- pkg/policystore/policystore_test.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pkg/policystore/policystore_test.go b/pkg/policystore/policystore_test.go index 7662e4b1df..3eca8e5112 100644 --- a/pkg/policystore/policystore_test.go +++ b/pkg/policystore/policystore_test.go @@ -273,3 +273,7 @@ func (fk *FakeLister) GetPolicyForPolicyViolation(pv *v1alpha1.ClusterPolicyViol func (fk *FakeLister) ListResources(selector labels.Selector) (ret []*v1alpha1.ClusterPolicy, err error) { return nil, nil } + +func (fk *FakeLister) GetPolicyForNamespacedPolicyViolation(pv *v1alpha1.NamespacedPolicyViolation) ([]*v1alpha1.ClusterPolicy, error) { + return nil, nil +}