Skip to content

Commit 79aa652

Browse files
author
Jason Yellick
committed
[FAB-2146] Move policies mocks to common
https://jira.hyperledger.org/browse/FAB-2146 The policies package used to be part of the orderer but has been pushed to common. However, the mocks were not moved to common. This CR remedies that situation. Change-Id: Id0af2eda3ccd03283ee5a236fb2b809785b0ed09 Signed-off-by: Jason Yellick <[email protected]>
1 parent 39378d3 commit 79aa652

File tree

4 files changed

+2
-2
lines changed

4 files changed

+2
-2
lines changed
File renamed without changes.
File renamed without changes.

orderer/common/deliver/deliver_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,12 +23,12 @@ import (
2323

2424
configtxapi "github.com/hyperledger/fabric/common/configtx/api"
2525
mockconfigtxorderer "github.com/hyperledger/fabric/common/mocks/configtx/handlers/orderer"
26+
mockpolicies "github.com/hyperledger/fabric/common/mocks/policies"
2627
"github.com/hyperledger/fabric/common/policies"
2728
"github.com/hyperledger/fabric/orderer/common/bootstrap/provisional"
2829
ordererledger "github.com/hyperledger/fabric/orderer/ledger"
2930
ramledger "github.com/hyperledger/fabric/orderer/ledger/ram"
3031
"github.com/hyperledger/fabric/orderer/localconfig"
31-
mockpolicies "github.com/hyperledger/fabric/orderer/mocks/policies"
3232
cb "github.com/hyperledger/fabric/protos/common"
3333
ab "github.com/hyperledger/fabric/protos/orderer"
3434
"github.com/hyperledger/fabric/protos/utils"

orderer/common/sigfilter/sigfilter_test.go

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

23+
mockpolicies "github.com/hyperledger/fabric/common/mocks/policies"
2324
"github.com/hyperledger/fabric/orderer/common/filter"
24-
mockpolicies "github.com/hyperledger/fabric/orderer/mocks/policies"
2525
cb "github.com/hyperledger/fabric/protos/common"
2626
"github.com/hyperledger/fabric/protos/utils"
2727

0 commit comments

Comments
 (0)