@@ -75,7 +75,7 @@ func ExampleCCUpgradeArgs() [][]byte {
7575}
7676
7777// Initialize reads configuration from file and sets up client, channel and event hub
78- func (setup * BaseSetupImpl ) Initialize (t * testing. T ) error {
78+ func (setup * BaseSetupImpl ) Initialize () error {
7979 // Create SDK setup for the integration tests
8080 sdk , err := fabsdk .New (config .FromFile (setup .ConfigFile ))
8181 if err != nil {
@@ -107,7 +107,7 @@ func (setup *BaseSetupImpl) Initialize(t *testing.T) error {
107107 req := chmgmt.SaveChannelRequest {ChannelID : setup .ChannelID , ChannelConfig : setup .ChannelConfig , SigningIdentity : session }
108108 InitializeChannel (sdk , setup .OrgID , req , targets )
109109
110- if err := setup .setupEventHub (t , sdk , setup .Identity ); err != nil {
110+ if err := setup .setupEventHub (sdk , setup .Identity ); err != nil {
111111 return err
112112 }
113113
@@ -161,7 +161,7 @@ func GetChannel(sdk *fabsdk.FabricSDK, ic fab.IdentityContext, config apiconfig.
161161 return channel , nil
162162}
163163
164- func (setup * BaseSetupImpl ) setupEventHub (t * testing. T , client * fabsdk.FabricSDK , identity fab.IdentityContext ) error {
164+ func (setup * BaseSetupImpl ) setupEventHub (client * fabsdk.FabricSDK , identity fab.IdentityContext ) error {
165165 eventHub , err := client .FabricProvider ().CreateEventHub (identity , setup .ChannelID )
166166 if err != nil {
167167 return err
0 commit comments