diff --git a/internal/controller/eventing/domain_test.go b/internal/controller/eventing/domain_test.go index 71c866d8e..96999fd3e 100644 --- a/internal/controller/eventing/domain_test.go +++ b/internal/controller/eventing/domain_test.go @@ -3,7 +3,6 @@ package eventing import ( "context" "fmt" - "github.com/kyma-project/eventing-manager/test/utils" "strings" "testing" @@ -11,6 +10,7 @@ import ( corev1 "k8s.io/api/core/v1" k8smocks "github.com/kyma-project/eventing-manager/pkg/k8s/mocks" + "github.com/kyma-project/eventing-manager/test/utils" ) func Test_readDomainFromConfigMap(t *testing.T) { diff --git a/internal/controller/eventing/eventmesh.go b/internal/controller/eventing/eventmesh.go index 39bd42a4e..f4662ceca 100644 --- a/internal/controller/eventing/eventmesh.go +++ b/internal/controller/eventing/eventmesh.go @@ -5,13 +5,13 @@ import ( "context" "encoding/json" "fmt" - "github.com/kyma-project/eventing-manager/pkg/utils" "os" "github.com/kyma-project/eventing-manager/api/v1alpha1" "github.com/kyma-project/eventing-manager/pkg/env" "github.com/kyma-project/eventing-manager/pkg/eventing" subscriptionmanager "github.com/kyma-project/eventing-manager/pkg/subscriptionmanager/manager" + "github.com/kyma-project/eventing-manager/pkg/utils" "github.com/pkg/errors" "go.uber.org/zap" corev1 "k8s.io/api/core/v1" diff --git a/internal/controller/eventing/utils_test.go b/internal/controller/eventing/utils_test.go index 729760db9..38f49b127 100644 --- a/internal/controller/eventing/utils_test.go +++ b/internal/controller/eventing/utils_test.go @@ -2,9 +2,10 @@ package eventing import ( "context" - "github.com/stretchr/testify/assert" "testing" + "github.com/stretchr/testify/assert" + eventingv1alpha1 "github.com/kyma-project/eventing-manager/api/v1alpha1" "github.com/kyma-project/eventing-manager/test/utils" "github.com/stretchr/testify/require" diff --git a/pkg/utils/utils_unit_test.go b/pkg/utils/utils_unit_test.go index 933e9282d..7a338c2fa 100644 --- a/pkg/utils/utils_unit_test.go +++ b/pkg/utils/utils_unit_test.go @@ -1,11 +1,11 @@ package utils import ( - "github.com/stretchr/testify/assert" "net/url" "reflect" "testing" + "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" )