mirror of
https://github.com/signaller-matrix/signaller.git
synced 2024-11-09 12:11:03 +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