summaryrefslogtreecommitdiffstats
path: root/api
diff options
context:
space:
mode:
authorChris <ccbrown112@gmail.com>2017-07-04 18:26:31 -0700
committerSaturnino Abril <saturnino.abril@gmail.com>2017-07-05 09:26:31 +0800
commit5bd60a4d1ea36839e7bdc8cc65f9038ac3732d5f (patch)
treef2b421626d32c86be119c81cf84cd5420d9f2033 /api
parent8f8a978e84ec8bbeac22928e6112bc697fa7176d (diff)
downloadchat-5bd60a4d1ea36839e7bdc8cc65f9038ac3732d5f.tar.gz
chat-5bd60a4d1ea36839e7bdc8cc65f9038ac3732d5f.tar.bz2
chat-5bd60a4d1ea36839e7bdc8cc65f9038ac3732d5f.zip
add /search command (#6741)
Diffstat (limited to 'api')
-rw-r--r--api/command_search_test.go13
1 files changed, 13 insertions, 0 deletions
diff --git a/api/command_search_test.go b/api/command_search_test.go
new file mode 100644
index 000000000..1ea2e6f6b
--- /dev/null
+++ b/api/command_search_test.go
@@ -0,0 +1,13 @@
+// Copyright (c) 2017-present Mattermost, Inc. All Rights Reserved.
+// See License.txt for license information.
+
+package api
+
+import (
+ "testing"
+)
+
+func TestSearchCommand(t *testing.T) {
+ th := Setup().InitBasic()
+ th.BasicClient.Must(th.BasicClient.Command(th.BasicChannel.Id, "/search"))
+}