PLT-3512 adding join/leave channel to the CLI (#3498)

* PLT-3512 adding join/leave channel to the CLI

* PLT-3512 adding list channels to the CLI

* PLT-3512 adding restore channel

* Adding make run-cli command

* Updating txt

* Fixing txt purposed by PMs
Этот коммит содержится в:
Corey Hulen
2016-07-06 10:11:21 -08:00
коммит произвёл Christopher Speller
родитель 26c91e73fe
Коммит b1520d0b94
8 изменённых файлов: 490 добавлений и 3 удалений

Просмотреть файл

@@ -200,6 +200,15 @@ func TestChannelStoreGet(t *testing.T) {
t.Fatal("invalid returned channel")
}
}
if r3 := <-store.Channel().GetAll(o1.TeamId); r3.Err != nil {
t.Fatal(r3.Err)
} else {
channels := r3.Data.([]*model.Channel)
if len(channels) == 0 {
t.Fatal("too little")
}
}
}
func TestChannelStoreDelete(t *testing.T) {