summaryrefslogtreecommitdiffstats
path: root/models/notification_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'models/notification_test.go')
-rw-r--r--models/notification_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/models/notification_test.go b/models/notification_test.go
index 6485f8dc7a..07b9f97de5 100644
--- a/models/notification_test.go
+++ b/models/notification_test.go
@@ -14,7 +14,7 @@ func TestCreateOrUpdateIssueNotifications(t *testing.T) {
assert.NoError(t, PrepareTestDatabase())
issue := AssertExistsAndLoadBean(t, &Issue{ID: 1}).(*Issue)
- assert.NoError(t, CreateOrUpdateIssueNotifications(issue.ID, 0, 2))
+ assert.NoError(t, CreateOrUpdateIssueNotifications(issue.ID, 0, 2, 0))
// User 9 is inactive, thus notifications for user 1 and 4 are created
notf := AssertExistsAndLoadBean(t, &Notification{UserID: 1, IssueID: issue.ID}).(*Notification)