summaryrefslogtreecommitdiffstats
path: root/api/command_test.go
diff options
context:
space:
mode:
authorCorey Hulen <corey@hulen.com>2015-06-29 21:16:07 -0800
committerCorey Hulen <corey@hulen.com>2015-06-29 21:16:07 -0800
commit4d2ca8881bf1aac6bc393988901b4ef523a5ef14 (patch)
treeba2e8ac114866477d53060d67913e5ca9dfec64d /api/command_test.go
parente6b5bdef82b23d61286ff455ee245a26a40d195f (diff)
parentba998db0998e7782842e4f86a242edd1e52b5e97 (diff)
downloadchat-4d2ca8881bf1aac6bc393988901b4ef523a5ef14.tar.gz
chat-4d2ca8881bf1aac6bc393988901b4ef523a5ef14.tar.bz2
chat-4d2ca8881bf1aac6bc393988901b4ef523a5ef14.zip
Merge pull request #98 from mattermost/mm-1199
fixes mm-1199 adds off-topic as a default channel
Diffstat (limited to 'api/command_test.go')
-rw-r--r--api/command_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/api/command_test.go b/api/command_test.go
index d3b0da455..5b7734628 100644
--- a/api/command_test.go
+++ b/api/command_test.go
@@ -129,7 +129,7 @@ func TestJoinCommands(t *testing.T) {
c1 := Client.Must(Client.GetChannels("")).Data.(*model.ChannelList)
- if len(c1.Channels) != 3 { // 3 because of town-square and direct
+ if len(c1.Channels) != 4 { // 4 because of town-square, off-topic and direct
t.Fatal("didn't join channel")
}