Skip to content

Commit cb9fc3d

Browse files
committed
more unit-tests
Signed-off-by: Angelo De Caro <[email protected]>
1 parent 1374bd6 commit cb9fc3d

File tree

3 files changed

+2852
-3
lines changed

3 files changed

+2852
-3
lines changed

token/services/network/fabric/endorsement/fsc/view.go renamed to token/services/network/fabric/endorsement/fsc/deps.go

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ package fsc
99
import (
1010
"context"
1111

12+
"github.com/hyperledger-labs/fabric-smart-client/platform/fabric/driver"
1213
"github.com/hyperledger-labs/fabric-smart-client/platform/view/view"
1314
"github.com/hyperledger-labs/fabric-token-sdk/token"
1415
)
@@ -18,6 +19,11 @@ import (
1819
//go:generate counterfeiter -o mock/ctx.go -fake-name Context . Context
1920
type Context = view.Context
2021

22+
// FabricTransaction is an alias for driver.Transaction
23+
//
24+
//go:generate counterfeiter -o mock/fabric_transaction.go -fake-name FabricTransaction . FabricTransaction
25+
type FabricTransaction = driver.Transaction
26+
2127
type IdentityProvider interface {
2228
Identity(string) view.Identity
2329
}

0 commit comments

Comments
 (0)