File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
platform/fabricx/core/finality Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ import (
1717 "github.com/hyperledger-labs/fabric-smart-client/platform/common/driver"
1818 "github.com/hyperledger-labs/fabric-smart-client/platform/fabric"
1919 fdriver "github.com/hyperledger-labs/fabric-smart-client/platform/fabric/driver"
20- "github.com/hyperledger-labs/fabric-smart-client/platform/fabricx/core/finality/mock"
20+ mock "github.com/hyperledger-labs/fabric-smart-client/platform/fabricx/core/finality/mock"
2121 "github.com/hyperledger/fabric-x-committer/api/protoblocktx"
2222 "github.com/hyperledger/fabric-x-committer/api/protonotify"
2323 "github.com/stretchr/testify/assert"
@@ -58,12 +58,12 @@ func (m *mockListener) getStatus() (string, int) {
5858 return m .txID , m .status
5959}
6060
61- func setupTest (tb testing.TB ) (* notificationListenerManager , * fakes .FakeNotifier_OpenNotificationStreamClient , context.Context ) {
61+ func setupTest (tb testing.TB ) (* notificationListenerManager , * mock .FakeNotifier_OpenNotificationStreamClient , context.Context ) {
6262 tb .Helper ()
6363
6464 ctx := tb .Context ()
6565
66- fakeStream := & fakes .FakeNotifier_OpenNotificationStreamClient {}
66+ fakeStream := & mock .FakeNotifier_OpenNotificationStreamClient {}
6767 fakeStream .ContextReturns (ctx )
6868
6969 nlm := & notificationListenerManager {
You can’t perform that action at this time.
0 commit comments