summaryrefslogtreecommitdiffstats
path: root/api4/channel_test.go
diff options
context:
space:
mode:
authorChristopher Speller <crspeller@gmail.com>2017-03-20 13:16:40 -0400
committerChristopher Speller <crspeller@gmail.com>2017-03-22 15:51:57 -0400
commit8d68de000a60bea40376cc54dc56e76335367015 (patch)
tree9cdf0a8936aa0ec7991c6a0d75343a5b57e1e849 /api4/channel_test.go
parentf4473cf312d09a53a57312745963aee334e251cb (diff)
downloadchat-8d68de000a60bea40376cc54dc56e76335367015.tar.gz
chat-8d68de000a60bea40376cc54dc56e76335367015.tar.bz2
chat-8d68de000a60bea40376cc54dc56e76335367015.zip
Fxing some unit tests
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 0f11edebc..cbdaef8a6 100644
--- a/api4/channel_test.go
+++ b/api4/channel_test.go
@@ -360,7 +360,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)