mirror of
https://github.com/signaller-matrix/signaller.git
synced 2024-11-22 02:12:20 +00:00
Fix TestPublicRooms
This commit is contained in:
parent
d47457a67c
commit
1e87bcac8b
@ -172,7 +172,7 @@ func TestPublicRooms(t *testing.T) {
|
|||||||
err = user2.JoinRoom(room2)
|
err = user2.JoinRoom(room2)
|
||||||
assert.NoError(t, err)
|
assert.NoError(t, err)
|
||||||
|
|
||||||
rooms := backend.PublicRooms()
|
rooms := backend.PublicRooms("")
|
||||||
assert.Len(t, rooms, 2)
|
assert.Len(t, rooms, 2)
|
||||||
assert.Equal(t, rooms[0], room2)
|
assert.Equal(t, rooms[0], room2)
|
||||||
assert.Equal(t, rooms[1], room1)
|
assert.Equal(t, rooms[1], room1)
|
||||||
|
Loading…
Reference in New Issue
Block a user