diff options
author | Martin Kraft <martinkraft@gmail.com> | 2018-05-09 15:00:07 -0400 |
---|---|---|
committer | Martin Kraft <martinkraft@gmail.com> | 2018-05-09 15:00:07 -0400 |
commit | d3e14a1bf86ac6148e09f888384cb46c61f23cdc (patch) | |
tree | 1c634c90166964f5184cb1ebd20ffb8ed209b120 /app/notification_test.go | |
parent | 60cf74352f13874a7d07c609c03b1c763af19cea (diff) | |
parent | c1853c7f40dd67c49524c8ea884ab61883a6abdd (diff) | |
download | chat-d3e14a1bf86ac6148e09f888384cb46c61f23cdc.tar.gz chat-d3e14a1bf86ac6148e09f888384cb46c61f23cdc.tar.bz2 chat-d3e14a1bf86ac6148e09f888384cb46c61f23cdc.zip |
Merge remote-tracking branch 'origin/master' into advanced-permissions-phase-2
Diffstat (limited to 'app/notification_test.go')
-rw-r--r-- | app/notification_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/notification_test.go b/app/notification_test.go index 24784940e..3b8b4adf5 100644 --- a/app/notification_test.go +++ b/app/notification_test.go @@ -37,7 +37,7 @@ func TestSendNotifications(t *testing.T) { } else if mentions == nil { t.Log(mentions) t.Fatal("user should have been mentioned") - } else if mentions[0] != th.BasicUser2.Id { + } else if !utils.StringInSlice(th.BasicUser2.Id, mentions) { t.Log(mentions) t.Fatal("user should have been mentioned") } |