diff options
Diffstat (limited to 'app/webhook_test.go')
-rw-r--r-- | app/webhook_test.go | 4 |
1 files changed, 2 insertions, 2 deletions
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") } |