Skip to content

Commit 24e1765

Browse files
committed
🎨 More on Zap.
1 parent f9ff208 commit 24e1765

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

‎integration/suite_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ func TestIntegration(t *testing.T) {
4646
}
4747

4848
var _ = BeforeSuite(func(done Done) {
49-
logf.SetLogger(zap.LoggerTo(GinkgoWriter, true))
49+
logf.SetLogger(zap.New(zap.UseDevMode(true), zap.WriteTo(GinkgoWriter)))
5050

5151
if os.Getenv("INTEGRATION_EXTERNAL_NAME") == "" {
5252
Skip("Integration tests require $INTEGRATION_EXTERNAL_NAME and $INTEGRATION_IMAGE_NAME")

‎webhook/suite_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ func TestWebook(t *testing.T) {
4040
}
4141

4242
var _ = BeforeSuite(func(done Done) {
43-
logf.SetLogger(zap.LoggerTo(GinkgoWriter, true))
43+
logf.SetLogger(zap.New(zap.UseDevMode(true), zap.WriteTo(GinkgoWriter)))
4444

4545
By("bootstrapping test environment")
4646
suiteHelper = cu.Functional().

0 commit comments

Comments
 (0)