@@ -127,13 +127,13 @@ func TestEndorserBadInstPolicy(t *testing.T) {
127
127
es := NewEndorserServer (func (channel string , txID string , privateData * rwset.TxPvtReadWriteSet ) error {
128
128
return nil
129
129
}, & em.MockSupport {
130
- GetApplicationConfigBoolRv : true ,
131
- GetApplicationConfigRv : & mc.MockApplication {& mc.MockApplicationCapabilities {}},
132
- GetTransactionByIDErr : errors .New ("" ),
133
- CheckInsantiationPolicyError : errors .New ("" ),
134
- ChaincodeDefinitionRv : & resourceconfig.MockChaincodeDefinition {EndorsementStr : "ESCC" },
135
- ExecuteResp : & pb.Response {Status : 200 , Payload : utils .MarshalOrPanic (& pb.ProposalResponse {Response : & pb.Response {}})},
136
- GetTxSimulatorRv : & ccprovider.MockTxSim {& ledger.TxSimulationResults {PubSimulationResults : & rwset.TxReadWriteSet {}}},
130
+ GetApplicationConfigBoolRv : true ,
131
+ GetApplicationConfigRv : & mc.MockApplication {& mc.MockApplicationCapabilities {}},
132
+ GetTransactionByIDErr : errors .New ("" ),
133
+ CheckInstantiationPolicyError : errors .New ("" ),
134
+ ChaincodeDefinitionRv : & resourceconfig.MockChaincodeDefinition {EndorsementStr : "ESCC" },
135
+ ExecuteResp : & pb.Response {Status : 200 , Payload : utils .MarshalOrPanic (& pb.ProposalResponse {Response : & pb.Response {}})},
136
+ GetTxSimulatorRv : & ccprovider.MockTxSim {& ledger.TxSimulationResults {PubSimulationResults : & rwset.TxReadWriteSet {}}},
137
137
})
138
138
139
139
signedProp := getSignedProp ("ccid" , "0" , t )
0 commit comments