From 751b35edbfe0c4fb1e3e330c317e53c0b29cf117 Mon Sep 17 00:00:00 2001 From: David Robertson Date: Thu, 26 Oct 2023 16:18:03 +0100 Subject: [PATCH] Make unit tests compile --- sync3/conn_test.go | 1 + 1 file changed, 1 insertion(+) 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) {