Skip to content

Commit 58c50bc

Browse files
test: null logger
1 parent 8f92bb4 commit 58c50bc

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

main_test.go

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,6 @@ import (
4343

4444
"github.com/caarlos0/env/v11"
4545
"github.com/prometheus/client_golang/prometheus"
46-
"github.com/sirupsen/logrus"
4746
"github.com/sirupsen/logrus/hooks/test"
4847
"github.com/stretchr/testify/require"
4948
"go.mongodb.org/mongo-driver/mongo"
@@ -1487,8 +1486,7 @@ func TestEntrypointWithResponseFiltering(t *testing.T) {
14871486
}
14881487

14891488
func TestIntegrationWithAuditTrail(t *testing.T) {
1490-
log := logrus.New()
1491-
// log, _ := test.NewNullLogger()
1489+
log, _ := test.NewNullLogger()
14921490

14931491
gockHost := setupGockServer(t, 3099, GockOptions{
14941492
OASTestFilePath: "./mocks/mockForResponseFilteringOnResponse.json",

0 commit comments

Comments
 (0)