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
Этот коммит содержится в:
коммит произвёл
Christopher Speller
родитель
26c91e73fe
Коммит
b1520d0b94
@@ -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) {
|
||||
|
||||
Ссылка в новой задаче
Block a user