summaryrefslogtreecommitdiffstats
path: root/api/command_test.go
diff options
context:
space:
mode:
authorJoramWilander <jwawilander@gmail.com>2015-06-29 11:14:12 -0400
committerJoramWilander <jwawilander@gmail.com>2015-06-29 11:14:12 -0400
commitba998db0998e7782842e4f86a242edd1e52b5e97 (patch)
tree88b4e052c68d4434819aac798bd6822417ea1dc2 /api/command_test.go
parent72d54e427c035162260f47b0b79864e6193861e9 (diff)
downloadchat-ba998db0998e7782842e4f86a242edd1e52b5e97.tar.gz
chat-ba998db0998e7782842e4f86a242edd1e52b5e97.tar.bz2
chat-ba998db0998e7782842e4f86a242edd1e52b5e97.zip
update unit tests for default channels
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")
}