summaryrefslogtreecommitdiffstats
path: root/api/webhook_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'api/webhook_test.go')
-rw-r--r--api/webhook_test.go2
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)
}