Skip to content

Commit

Permalink
Fix log after end of test
Browse files Browse the repository at this point in the history
Workaround for #124
  • Loading branch information
rekby committed Mar 14, 2020
1 parent 62e0571 commit 3a6d13c
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions internal/acme_client_manager/client_manager_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ import (
"math/big"
"testing"

zc "github.com/rekby/zapcontext"
"go.uber.org/zap"

"golang.org/x/crypto/acme"

"github.com/maxatome/go-testdeep"
Expand Down Expand Up @@ -51,6 +54,7 @@ func TestClientManagerCreateNew(t *testing.T) {
func TestClientManagerGetFromCache(t *testing.T) {
ctx, flush := th.TestContext(t)
defer flush()
ctx = zc.WithLogger(ctx, zap.NewNop().WithOptions(zap.Development()))

td := testdeep.NewT(t)

Expand Down

0 comments on commit 3a6d13c

Please sign in to comment.