Skip to content

Commit

Permalink
Add missing interface method on connHandlerMock
Browse files Browse the repository at this point in the history
  • Loading branch information
David Robertson committed Jul 27, 2023
1 parent 6e8bbcc commit d010ff4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions sync3/conn_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ func (c *connHandlerMock) UserID() string {
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) {}

// Test that Conn can send and receive requests based on positions
func TestConn(t *testing.T) {
Expand Down

0 comments on commit d010ff4

Please sign in to comment.