Skip to content
This repository was archived by the owner on Apr 25, 2025. It is now read-only.

Commit 2ae5ea6

Browse files
committed
Add unit test to cachekey.go
Signed-off-by: Jim Zhang <jim.zhang@kaleido.io>
1 parent 69369f7 commit 2ae5ea6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/fabsdk/provider/chpvdr/chprovider_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ func TestBasicValidChannel(t *testing.T) {
8686
assert.NotNil(t, channelConfig)
8787
assert.NotEmptyf(t, channelConfig.ID(), "Got empty channel ID from channel config")
8888

89-
eventService, err := channelService.EventService(client.WithBlockEvents(), deliverclient.WithChaincodeID("testChaincode"))
89+
eventService, err := channelService.EventService(client.WithBlockEvents(), deliverclient.WithSeekType("from"), deliverclient.WithBlockNum(10), deliverclient.WithChaincodeID("testChaincode"))
9090
require.NoError(t, err)
9191
require.NotNil(t, eventService)
9292

0 commit comments

Comments
 (0)