summaryrefslogtreecommitdiffstats
path: root/api4/post_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'api4/post_test.go')
-rw-r--r--api4/post_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/api4/post_test.go b/api4/post_test.go
index 32f259d3d..604920b96 100644
--- a/api4/post_test.go
+++ b/api4/post_test.go
@@ -159,7 +159,7 @@ func TestGetPostsForChannel(t *testing.T) {
}
_, resp = Client.GetPostsForChannel("", 0, 60, "")
- CheckNotFoundStatus(t, resp)
+ CheckUnauthorizedStatus(t, resp)
_, resp = Client.GetPostsForChannel("junk", 0, 60, "")
CheckBadRequestStatus(t, resp)