Skip to content

Commit

Permalink
[FAB-2146] Move policies mocks to common
Browse files Browse the repository at this point in the history
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 <jyellick@us.ibm.com>
  • Loading branch information
Jason Yellick committed Feb 12, 2017
1 parent 39378d3 commit 79aa652
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 2 deletions.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion orderer/common/deliver/deliver_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,12 @@ import (

configtxapi "github.com/hyperledger/fabric/common/configtx/api"
mockconfigtxorderer "github.com/hyperledger/fabric/common/mocks/configtx/handlers/orderer"
mockpolicies "github.com/hyperledger/fabric/common/mocks/policies"
"github.com/hyperledger/fabric/common/policies"
"github.com/hyperledger/fabric/orderer/common/bootstrap/provisional"
ordererledger "github.com/hyperledger/fabric/orderer/ledger"
ramledger "github.com/hyperledger/fabric/orderer/ledger/ram"
"github.com/hyperledger/fabric/orderer/localconfig"
mockpolicies "github.com/hyperledger/fabric/orderer/mocks/policies"
cb "github.com/hyperledger/fabric/protos/common"
ab "github.com/hyperledger/fabric/protos/orderer"
"github.com/hyperledger/fabric/protos/utils"
Expand Down
2 changes: 1 addition & 1 deletion orderer/common/sigfilter/sigfilter_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ import (
"fmt"
"testing"

mockpolicies "github.com/hyperledger/fabric/common/mocks/policies"
"github.com/hyperledger/fabric/orderer/common/filter"
mockpolicies "github.com/hyperledger/fabric/orderer/mocks/policies"
cb "github.com/hyperledger/fabric/protos/common"
"github.com/hyperledger/fabric/protos/utils"

Expand Down

0 comments on commit 79aa652

Please sign in to comment.