Skip to content

Commit

Permalink
fixed more tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Shoaeb Jindani committed Apr 5, 2024
1 parent b18fabb commit c87b3b5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions controllers/ibporderer/ibporderer_controller_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down Expand Up @@ -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{
Expand Down
2 changes: 2 additions & 0 deletions controllers/ibppeer/ibppeer_controller_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down Expand Up @@ -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{
Expand Down

0 comments on commit c87b3b5

Please sign in to comment.