GH-4187 Create direct channel during incoming webhook if not exists (#4206)
Этот коммит содержится в:
коммит произвёл
Christopher Speller
родитель
b1e2b23b88
Коммит
e7b25f4cd8
@@ -597,8 +597,6 @@ func TestIncomingWebhooks(t *testing.T) {
|
||||
t.Fatal(err)
|
||||
}
|
||||
|
||||
Client.Must(Client.CreateDirectChannel(user2.Id))
|
||||
|
||||
if _, err := Client.DoPost(url, fmt.Sprintf("{\"text\":\"this is a test\", \"channel\":\"@%s\"}", user2.Username), "application/json"); err != nil {
|
||||
t.Fatal(err)
|
||||
}
|
||||
|
||||
Ссылка в новой задаче
Block a user