MM-11576: Allow to join and add members to archived channels (#9214)

Этот коммит содержится в:
Jesús Espino
2018-08-03 17:13:02 +02:00
коммит произвёл GitHub
родитель 8cc4f27f7c
Коммит 61f98d92fa
3 изменённых файлов: 0 добавлений и 18 удалений

Просмотреть файл

@@ -846,8 +846,6 @@ func TestDeleteChannel(t *testing.T) {
if ch, err := th.App.GetChannel(publicChannel1.Id); err == nil && ch.DeleteAt == 0 {
t.Fatal("should have failed to get deleted channel")
} else if err := th.App.JoinChannel(ch, user2.Id); err == nil {
t.Fatal("should have failed to join deleted channel")
}
post1 := &model.Post{ChannelId: publicChannel1.Id, Message: "a" + GenerateTestId() + "a"}