diff options
Diffstat (limited to 'api4/channel_test.go')
-rw-r--r-- | api4/channel_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/api4/channel_test.go b/api4/channel_test.go index bf7218f0b..6d5b5cef3 100644 --- a/api4/channel_test.go +++ b/api4/channel_test.go @@ -426,7 +426,7 @@ func TestDeleteChannel(t *testing.T) { if ch, err := app.GetChannel(publicChannel1.Id); err == nil && ch.DeleteAt == 0 { t.Fatal("should have failed to get deleted channel") - } else if err := app.JoinChannel(ch, user2.Id); err == nil { + } else if err := app.JoinChannel(ch, user2.Id, ""); err == nil { t.Fatal("should have failed to join deleted channel") } |