Gofmt and enable a test
This commit is contained in:
parent
fafc7f55be
commit
ea965766b4
@ -26,7 +26,6 @@ import (
|
||||
)
|
||||
|
||||
func TestNewRoom_DefaultValues(t *testing.T) {
|
||||
/*
|
||||
room := rooms.NewRoom("!test:maunium.net", "@tulir:maunium.net")
|
||||
assert.Equal(t, "!test:maunium.net", room.ID)
|
||||
assert.Equal(t, "@tulir:maunium.net", room.SessionUserID)
|
||||
@ -36,7 +35,6 @@ func TestNewRoom_DefaultValues(t *testing.T) {
|
||||
assert.Empty(t, room.GetCanonicalAlias())
|
||||
assert.Empty(t, room.GetTopic())
|
||||
assert.Nil(t, room.GetSessionOwner())
|
||||
*/
|
||||
}
|
||||
|
||||
func TestRoom_GetCanonicalAlias(t *testing.T) {
|
||||
@ -61,7 +59,6 @@ func TestRoom_GetTopic(t *testing.T) {
|
||||
assert.Equal(t, "test topic", room.GetTopic())
|
||||
}
|
||||
|
||||
|
||||
func TestRoom_GetAliases(t *testing.T) {
|
||||
room := rooms.NewRoom("!test:maunium.net", "@tulir:maunium.net")
|
||||
addAliases(room)
|
||||
|
Loading…
Reference in New Issue
Block a user