From fdba2d50fd431796e49cef00484de410b7a7a350 Mon Sep 17 00:00:00 2001 From: Carlos Tadeu Panato Junior Date: Tue, 21 Nov 2017 00:57:35 +0100 Subject: [PLT-840] Add option to outgoing webhooks to reply to the posted message as a comment (#7807) --- app/webhook_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'app/webhook_test.go') diff --git a/app/webhook_test.go b/app/webhook_test.go index f0cc0610a..9fef6fde3 100644 --- a/app/webhook_test.go +++ b/app/webhook_test.go @@ -38,7 +38,7 @@ func TestCreateWebhookPost(t *testing.T) { Text: "text", }, }, - }, model.POST_SLACK_ATTACHMENT) + }, model.POST_SLACK_ATTACHMENT, "") if err != nil { t.Fatal(err.Error()) } @@ -49,7 +49,7 @@ func TestCreateWebhookPost(t *testing.T) { } } - _, err = th.App.CreateWebhookPost(hook.UserId, th.BasicChannel, "foo", "user", "http://iconurl", nil, model.POST_SYSTEM_GENERIC) + _, err = th.App.CreateWebhookPost(hook.UserId, th.BasicChannel, "foo", "user", "http://iconurl", nil, model.POST_SYSTEM_GENERIC, "") if err == nil { t.Fatal("should have failed - bad post type") } -- cgit v1.2.3-1-g7c22