summaryrefslogtreecommitdiffstats
path: root/app/notification_test.go
diff options
context:
space:
mode:
authorJoram Wilander <jwawilander@gmail.com>2017-01-20 09:43:14 -0500
committerChristopher Speller <crspeller@gmail.com>2017-01-20 09:43:14 -0500
commite8d7701b60e8285568ed01c2fe155ed02c388136 (patch)
tree65eb8631407a2f3e13d1c082e10c58b571988a2f /app/notification_test.go
parent6aec2b6c55e63faac64d78c8c5c52b3a9e02b2c8 (diff)
downloadchat-e8d7701b60e8285568ed01c2fe155ed02c388136.tar.gz
chat-e8d7701b60e8285568ed01c2fe155ed02c388136.tar.bz2
chat-e8d7701b60e8285568ed01c2fe155ed02c388136.zip
PLT-5284 Fix webhook notifications for channel creator is not in (#5119)
* Fix webhook notifications for channel creator is not in * Fix unit test
Diffstat (limited to 'app/notification_test.go')
-rw-r--r--app/notification_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/notification_test.go b/app/notification_test.go
index 8554d0af6..10eb09247 100644
--- a/app/notification_test.go
+++ b/app/notification_test.go
@@ -24,7 +24,7 @@ func TestSendNotifications(t *testing.T) {
t.Fatal(postErr)
}
- mentions, err := SendNotifications(post1, th.BasicTeam, th.BasicChannel)
+ mentions, err := SendNotifications(post1, th.BasicTeam, th.BasicChannel, th.BasicUser)
if err != nil {
t.Fatal(err)
} else if mentions == nil {