mirror of
https://github.com/matrix-org/sliding-sync.git
synced 2025-03-10 13:37:11 +00:00
Make unit tests compile
This commit is contained in:
parent
f3037861a7
commit
751b35edbf
@ -26,6 +26,7 @@ func (c *connHandlerMock) Destroy() {}
|
|||||||
func (c *connHandlerMock) Alive() bool { return true }
|
func (c *connHandlerMock) Alive() bool { return true }
|
||||||
func (c *connHandlerMock) OnUpdate(ctx context.Context, update caches.Update) {}
|
func (c *connHandlerMock) OnUpdate(ctx context.Context, update caches.Update) {}
|
||||||
func (c *connHandlerMock) PublishEventsUpTo(roomID string, nid int64) {}
|
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
|
// Test that Conn can send and receive requests based on positions
|
||||||
func TestConn(t *testing.T) {
|
func TestConn(t *testing.T) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user