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 3c9b6d720..345bbefaf 100644
--- a/api4/channel_test.go
+++ b/api4/channel_test.go
@@ -721,7 +721,7 @@ func TestSearchChannels(t *testing.T) {
search.Term = ""
_, resp = Client.SearchChannels(th.BasicTeam.Id, search)
- CheckBadRequestStatus(t, resp)
+ CheckNoError(t, resp)
search.Term = th.BasicChannel.Name
_, resp = Client.SearchChannels(model.NewId(), search)