Skip to content

Commit 6d5a628

Browse files
author
Jason Yellick
committed
[FAB-1857] Move orderer/mocks/configtx to common
https://jira.hyperledger.org/browse/FAB-1857 The configtx package was originally part of the orderer, so its mock was created in the orderer. However, configtx has moved to common and other non-orderer packages may wish to utilize the mocks, so they should go to common as well. Change-Id: Ia94ffd80bf8f866aaeaaa5422a31db485f7e2a38 Signed-off-by: Jason Yellick <[email protected]>
1 parent 37f3a4e commit 6d5a628

File tree

5 files changed

+3
-3
lines changed

5 files changed

+3
-3
lines changed

common/configtx/filter_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@ import (
2222
"testing"
2323

2424
. "github.com/hyperledger/fabric/common/configtx"
25+
mockconfigtx "github.com/hyperledger/fabric/common/mocks/configtx"
2526
"github.com/hyperledger/fabric/orderer/common/filter"
26-
mockconfigtx "github.com/hyperledger/fabric/orderer/mocks/configtx"
2727
cb "github.com/hyperledger/fabric/protos/common"
2828

2929
"github.com/golang/protobuf/proto"

common/configtx/manager_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@ import (
2121
"testing"
2222

2323
. "github.com/hyperledger/fabric/common/configtx"
24+
mockconfigtx "github.com/hyperledger/fabric/common/mocks/configtx"
2425
"github.com/hyperledger/fabric/common/policies"
25-
mockconfigtx "github.com/hyperledger/fabric/orderer/mocks/configtx"
2626
cb "github.com/hyperledger/fabric/protos/common"
2727

2828
"errors"
File renamed without changes.
File renamed without changes.

orderer/multichain/chainsupport_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,9 @@ import (
2121
"testing"
2222

2323
"github.com/golang/protobuf/proto"
24+
mockconfigtx "github.com/hyperledger/fabric/common/mocks/configtx"
2425
"github.com/hyperledger/fabric/orderer/common/filter"
2526
ordererledger "github.com/hyperledger/fabric/orderer/ledger"
26-
mockconfigtx "github.com/hyperledger/fabric/orderer/mocks/configtx"
2727
cb "github.com/hyperledger/fabric/protos/common"
2828
ab "github.com/hyperledger/fabric/protos/orderer"
2929
"github.com/hyperledger/fabric/protos/utils"

0 commit comments

Comments
 (0)