diff options
author | Alexander Smaga <smagaan@gmail.com> | 2016-10-17 15:12:56 +0300 |
---|---|---|
committer | Christopher Speller <crspeller@gmail.com> | 2016-10-17 08:12:56 -0400 |
commit | e7b25f4cd8b7d87b99153fd4a901d3f9f92d7b0d (patch) | |
tree | 9dfad731f8a4320e72e287732b50f46946ce76fe /api/webhook_test.go | |
parent | b1e2b23b882ec062cfd7209abeed417eb07e121e (diff) | |
download | chat-e7b25f4cd8b7d87b99153fd4a901d3f9f92d7b0d.tar.gz chat-e7b25f4cd8b7d87b99153fd4a901d3f9f92d7b0d.tar.bz2 chat-e7b25f4cd8b7d87b99153fd4a901d3f9f92d7b0d.zip |
GH-4187 Create direct channel during incoming webhook if not exists (#4206)
Diffstat (limited to 'api/webhook_test.go')
-rw-r--r-- | api/webhook_test.go | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/api/webhook_test.go b/api/webhook_test.go index b3fa04d88..ae3b48032 100644 --- a/api/webhook_test.go +++ b/api/webhook_test.go @@ -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) } |