summaryrefslogtreecommitdiffstats
path: root/app/webhook_test.go
diff options
context:
space:
mode:
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",