summaryrefslogtreecommitdiffstats
path: root/api4
diff options
context:
space:
mode:
authorJesús Espino <jespinog@gmail.com>2018-08-03 17:13:02 +0200
committerGitHub <noreply@github.com>2018-08-03 17:13:02 +0200
commit61f98d92faf82a38041c8e709c4bc36e7792752c (patch)
tree32632b0c3def990976e189142f4dd064927269e2 /api4
parent8cc4f27f7cb17af34951ad4c7a59ca7bad082f61 (diff)
downloadchat-61f98d92faf82a38041c8e709c4bc36e7792752c.tar.gz
chat-61f98d92faf82a38041c8e709c4bc36e7792752c.tar.bz2
chat-61f98d92faf82a38041c8e709c4bc36e7792752c.zip
MM-11576: Allow to join and add members to archived channels (#9214)
Diffstat (limited to 'api4')
-rw-r--r--api4/channel_test.go2
1 files changed, 0 insertions, 2 deletions
diff --git a/api4/channel_test.go b/api4/channel_test.go
index c2a0131cf..5ca4dee6e 100644
--- a/api4/channel_test.go
+++ b/api4/channel_test.go
@@ -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"}