diff --git a/controllers/ibporderer/ibporderer_controller_test.go b/controllers/ibporderer/ibporderer_controller_test.go index 0a50a0cf..14480745 100644 --- a/controllers/ibporderer/ibporderer_controller_test.go +++ b/controllers/ibporderer/ibporderer_controller_test.go @@ -33,6 +33,7 @@ import ( current "github.com/IBM-Blockchain/fabric-operator/api/v1beta1" orderermocks "github.com/IBM-Blockchain/fabric-operator/controllers/ibporderer/mocks" "github.com/IBM-Blockchain/fabric-operator/controllers/mocks" + opconfig "github.com/IBM-Blockchain/fabric-operator/operatorconfig" v1 "github.com/IBM-Blockchain/fabric-operator/pkg/apis/orderer/v1" config "github.com/IBM-Blockchain/fabric-operator/pkg/initializer/orderer/config/v1" "github.com/IBM-Blockchain/fabric-operator/pkg/offering/common" @@ -122,6 +123,7 @@ var _ = Describe("ReconcileIBPOrderer", func() { scheme: &runtime.Scheme{}, update: map[string][]Update{}, mutex: &sync.Mutex{}, + Config: &opconfig.Config{}, } request = reconcile.Request{ NamespacedName: types.NamespacedName{ diff --git a/controllers/ibppeer/ibppeer_controller_test.go b/controllers/ibppeer/ibppeer_controller_test.go index 85cee8bb..5b45c59c 100644 --- a/controllers/ibppeer/ibppeer_controller_test.go +++ b/controllers/ibppeer/ibppeer_controller_test.go @@ -24,6 +24,7 @@ import ( "fmt" "sync" + opconfig "github.com/IBM-Blockchain/fabric-operator/operatorconfig" . "github.com/onsi/ginkgo/v2" . "github.com/onsi/gomega" "k8s.io/utils/pointer" @@ -125,6 +126,7 @@ var _ = Describe("ReconcileIBPPeer", func() { scheme: &runtime.Scheme{}, update: map[string][]Update{}, mutex: &sync.Mutex{}, + Config: &opconfig.Config{}, } request = reconcile.Request{ NamespacedName: types.NamespacedName{