diff --git a/sync3/conn_test.go b/sync3/conn_test.go index 8b148ea..ee6f330 100644 --- a/sync3/conn_test.go +++ b/sync3/conn_test.go @@ -26,6 +26,7 @@ func (c *connHandlerMock) Destroy() {} func (c *connHandlerMock) Alive() bool { return true } func (c *connHandlerMock) OnUpdate(ctx context.Context, update caches.Update) {} func (c *connHandlerMock) PublishEventsUpTo(roomID string, nid int64) {} +func (c *connHandlerMock) SetCancelCallback(cancel context.CancelFunc) {} // Test that Conn can send and receive requests based on positions func TestConn(t *testing.T) {