summaryrefslogtreecommitdiffstats
path: root/api4/channel_test.go
diff options
context:
space:
mode:
authorChristopher Speller <crspeller@gmail.com>2017-03-20 16:47:53 -0400
committerGitHub <noreply@github.com>2017-03-20 16:47:53 -0400
commit7caab35cfab461a243eee0abe8d858f554ac0519 (patch)
treea1a7e800277f5006f8f0d89696339fb2f5a248d1 /api4/channel_test.go
parentdcdea9b54c14329e47a0cb7c6dffb9da765b35c6 (diff)
downloadchat-7caab35cfab461a243eee0abe8d858f554ac0519.tar.gz
chat-7caab35cfab461a243eee0abe8d858f554ac0519.tar.bz2
chat-7caab35cfab461a243eee0abe8d858f554ac0519.zip
Fxing some unit tests (#5817)
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 fd72a8ba7..754413300 100644
--- a/api4/channel_test.go
+++ b/api4/channel_test.go
@@ -738,7 +738,7 @@ func TestGetChannelMembers(t *testing.T) {
}
_, resp = Client.GetChannelMembers("", 0, 60, "")
- CheckUnauthorizedStatus(t, resp)
+ CheckBadRequestStatus(t, resp)
_, resp = Client.GetChannelMembers("junk", 0, 60, "")
CheckBadRequestStatus(t, resp)