diff options
Diffstat (limited to 'api4/channel_test.go')
-rw-r--r-- | api4/channel_test.go | 2 |
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"} |