From fadd9514f6e71590aba781a7035e1de4150137b0 Mon Sep 17 00:00:00 2001 From: Joram Wilander Date: Wed, 4 Oct 2017 11:42:38 -0400 Subject: PLT-7718 Patch for files (#7564) * Patch for files * Fix merge * Fix tests * Fix another test --- api4/channel_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'api4/channel_test.go') diff --git a/api4/channel_test.go b/api4/channel_test.go index cda3b5ced..44f3a4ad7 100644 --- a/api4/channel_test.go +++ b/api4/channel_test.go @@ -1475,7 +1475,7 @@ func TestGetChannelUnread(t *testing.T) { CheckNoError(t, resp) _, resp = th.SystemAdminClient.GetChannelUnread(model.NewId(), user.Id) - CheckNotFoundStatus(t, resp) + CheckForbiddenStatus(t, resp) _, resp = th.SystemAdminClient.GetChannelUnread(channel.Id, model.NewId()) CheckNotFoundStatus(t, resp) -- cgit v1.2.3-1-g7c22