diff options
Diffstat (limited to 'app/webhook_test.go')
-rw-r--r-- | app/webhook_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/webhook_test.go b/app/webhook_test.go index b9ba35f43..d6293e2b7 100644 --- a/app/webhook_test.go +++ b/app/webhook_test.go @@ -30,7 +30,7 @@ func TestCreateWebhookPost(t *testing.T) { post, err := th.App.CreateWebhookPost(hook.UserId, th.BasicChannel, "foo", "user", "http://iconurl", model.StringInterface{ "attachments": []*model.SlackAttachment{ - &model.SlackAttachment{ + { Text: "text", }, }, |