Skip to content

Commit

Permalink
fix room test
Browse files Browse the repository at this point in the history
  • Loading branch information
Yohan Totting committed Jan 5, 2024
1 parent 7ade7fc commit 2b3ef37
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions room_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -39,10 +39,6 @@ func TestRoomCreateAndClose(t *testing.T) {
client2, err := testRoom.AddClient(id, id, DefaultClientOptions())
require.NoErrorf(t, err, "error adding client to room: %v", err)

// stop all clients should error on unempty room
err = testRoom.Close()
require.EqualError(t, err, ErrRoomIsNotEmpty.Error(), "expecting error room is not empty: %v", err)

// stop other client
err = testRoom.StopClient(client2.ID())
require.NoErrorf(t, err, "error stopping client: %v", err)
Expand Down

0 comments on commit 2b3ef37

Please sign in to comment.