diff options
Diffstat (limited to 'app/notification_test.go')
-rw-r--r-- | app/notification_test.go | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/app/notification_test.go b/app/notification_test.go index d9f81dccb..bdc38e455 100644 --- a/app/notification_test.go +++ b/app/notification_test.go @@ -78,6 +78,11 @@ func TestSendNotifications(t *testing.T) { if err != nil { t.Fatal(err) } + + th.BasicChannel.DeleteAt = 1 + mentions, err = th.App.SendNotifications(post1, th.BasicTeam, th.BasicChannel, th.BasicUser, nil) + assert.Nil(t, err) + assert.Len(t, mentions, 0) } func TestGetExplicitMentions(t *testing.T) { |