summaryrefslogtreecommitdiffstats
path: root/api4/channel_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'api4/channel_test.go')
-rw-r--r--api4/channel_test.go2
1 files changed, 1 insertions, 1 deletions
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)