mirror of
https://github.com/signaller-matrix/signaller.git
synced 2024-11-25 03:42:20 +00:00
Remove wront assertion after event rework
This commit is contained in:
parent
bf66533ef1
commit
20fea5c1dd
@ -64,7 +64,6 @@ func TestSetRoomTopic(t *testing.T) {
|
|||||||
err := user.SetTopic(room, newTopic)
|
err := user.SetTopic(room, newTopic)
|
||||||
assert.NoError(t, err)
|
assert.NoError(t, err)
|
||||||
assert.Equal(t, newTopic, room.Topic())
|
assert.Equal(t, newTopic, room.Topic())
|
||||||
assert.Equal(t, 5, len(room.Events())) // TODO: check start event count
|
|
||||||
}
|
}
|
||||||
|
|
||||||
func TestSetRoomTopicWithnprivelegedUser(t *testing.T) {
|
func TestSetRoomTopicWithnprivelegedUser(t *testing.T) {
|
||||||
|
Loading…
Reference in New Issue
Block a user