summaryrefslogtreecommitdiffstats
path: root/app/webhook_test.go
diff options
context:
space:
mode:
authorCorey Hulen <corey@hulen.com>2017-08-28 07:08:37 -0700
committerHarrison Healey <harrisonmhealey@gmail.com>2017-08-28 10:08:37 -0400
commit1709b94227ed33e789f1be00d26ebbb972ce86b7 (patch)
treebfadf6b52b2ce8985b59529aeb1b890fa214190d /app/webhook_test.go
parenta12cf549cf0dc394189f7a37f090bd3eebbca8ca (diff)
downloadchat-1709b94227ed33e789f1be00d26ebbb972ce86b7.tar.gz
chat-1709b94227ed33e789f1be00d26ebbb972ce86b7.tar.bz2
chat-1709b94227ed33e789f1be00d26ebbb972ce86b7.zip
PLT-5745 Cleaning up duplicate calls (#7298)
* PLT-5745 Cleaning up duplicate calls * Fixing missing calls * Fixing broken test
Diffstat (limited to 'app/webhook_test.go')
-rw-r--r--app/webhook_test.go2
1 files changed, 1 insertions, 1 deletions
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",