From 1709b94227ed33e789f1be00d26ebbb972ce86b7 Mon Sep 17 00:00:00 2001 From: Corey Hulen Date: Mon, 28 Aug 2017 07:08:37 -0700 Subject: PLT-5745 Cleaning up duplicate calls (#7298) * PLT-5745 Cleaning up duplicate calls * Fixing missing calls * Fixing broken test --- app/webhook_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/webhook_test.go') diff --git a/app/webhook_test.go b/app/webhook_test.go index ae97454a6..8333de0ee 100644 --- a/app/webhook_test.go +++ b/app/webhook_test.go @@ -28,7 +28,7 @@ func TestCreateWebhookPost(t *testing.T) { } defer DeleteIncomingWebhook(hook.Id) - post, err := CreateWebhookPost(hook.UserId, hook.TeamId, th.BasicChannel.Id, "foo", "user", "http://iconurl", model.StringInterface{ + post, err := CreateWebhookPost(hook.UserId, th.BasicChannel, "foo", "user", "http://iconurl", model.StringInterface{ "attachments": []*model.SlackAttachment{ &model.SlackAttachment{ Text: "text", -- cgit v1.2.3-1-g7c22