Make unit tests compile

This commit is contained in:
David Robertson 2023-10-26 16:18:03 +01:00
parent f3037861a7
commit 751b35edbf
No known key found for this signature in database
GPG Key ID: 903ECE108A39DEDD

View File

@ -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) {