fix log related test

Signed-off-by: Maartje Eyskens <maartje@eyskens.me>
This commit is contained in:
Maartje Eyskens 2020-08-10 10:46:40 +02:00
parent 40dd8b961d
commit 83563bf81c

View File

@ -21,6 +21,8 @@ import (
"errors"
"testing"
logf "github.com/jetstack/cert-manager/pkg/logs"
corelisters "k8s.io/client-go/listers/core/v1"
cmapi "github.com/jetstack/cert-manager/pkg/apis/certmanager/v1alpha2"
@ -117,6 +119,7 @@ func (s *testSetupT) runTest(t *testing.T) {
},
issuer: s.iss,
clientBuilder: s.clientBuilder,
log: logf.Log.WithName("venafi"),
}
err := v.Setup(context.TODO())