@@ -339,17 +339,17 @@ func TestNetworkDBWatch(t *testing.T) {
339339 err = dbs [0 ].CreateEntry ("test_table" , "network1" , "test_key" , []byte ("test_value" ))
340340 assert .NoError (t , err )
341341
342- testWatch (t , ch , CreateEvent {}, "test_table" , "network1" , "test_key" , "test_value" )
342+ testWatch (t , ch . C , CreateEvent {}, "test_table" , "network1" , "test_key" , "test_value" )
343343
344344 err = dbs [0 ].UpdateEntry ("test_table" , "network1" , "test_key" , []byte ("test_updated_value" ))
345345 assert .NoError (t , err )
346346
347- testWatch (t , ch , UpdateEvent {}, "test_table" , "network1" , "test_key" , "test_updated_value" )
347+ testWatch (t , ch . C , UpdateEvent {}, "test_table" , "network1" , "test_key" , "test_updated_value" )
348348
349349 err = dbs [0 ].DeleteEntry ("test_table" , "network1" , "test_key" )
350350 assert .NoError (t , err )
351351
352- testWatch (t , ch , DeleteEvent {}, "test_table" , "network1" , "test_key" , "" )
352+ testWatch (t , ch . C , DeleteEvent {}, "test_table" , "network1" , "test_key" , "" )
353353
354354 cancel ()
355355 closeNetworkDBInstances (dbs )
0 commit comments