Skip to content

Commit

Permalink
Remove logrus from env test (#1583)
Browse files Browse the repository at this point in the history
  • Loading branch information
KsaweryZietara authored Dec 17, 2024
1 parent be16f32 commit f518967
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 7 deletions.
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ require (
github.com/pkg/errors v0.9.1
github.com/prometheus/client_golang v1.20.5
github.com/sebdah/goldie/v2 v2.5.5
github.com/sirupsen/logrus v1.9.3
github.com/stretchr/testify v1.10.0
github.com/vrischmann/envconfig v1.3.0
golang.org/x/exp v0.0.0-20241204233417-43b7b7cde48d
Expand Down Expand Up @@ -104,6 +103,7 @@ require (
github.com/prometheus/procfs v0.15.1 // indirect
github.com/robfig/cron/v3 v3.0.1 // indirect
github.com/sergi/go-diff v1.3.1 // indirect
github.com/sirupsen/logrus v1.9.3 // indirect
github.com/sosodev/duration v1.3.1 // indirect
github.com/spf13/pflag v1.0.5 // indirect
github.com/stretchr/objx v0.5.2 // indirect
Expand Down
6 changes: 0 additions & 6 deletions internal/broker/bind_envtest_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ import (
"github.com/kyma-project/kyma-environment-broker/internal/kubeconfig"
"github.com/kyma-project/kyma-environment-broker/internal/storage"
"github.com/pivotal-cf/brokerapi/v8/domain"
"github.com/sirupsen/logrus"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
"gopkg.in/yaml.v2"
Expand Down Expand Up @@ -51,11 +50,6 @@ func TestCreateBinding(t *testing.T) {
err := corev1.AddToScheme(sch)
assert.NoError(t, err)

logs := logrus.New()
logs.SetLevel(logrus.DebugLevel)
logs.SetFormatter(&logrus.JSONFormatter{
TimestampFormat: time.RFC3339Nano,
})
// prepare envtest to provide valid kubeconfig
envFirst, configFirst, clientFirst := createEnvTest(t)
defer func(env *envtest.Environment) {
Expand Down

0 comments on commit f518967

Please sign in to comment.