Skip to content

Commit 22ea7ea

Browse files
fix
Signed-off-by: Said Altury <Said.Altury@ibm.com>
1 parent f132d4a commit 22ea7ea

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

platform/fabricx/core/finality/nlm_test.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff 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{

0 commit comments

Comments
 (0)