We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0fd9e3f commit 2bcf5caCopy full SHA for 2bcf5ca
models/notification_test.go
@@ -14,7 +14,7 @@ func TestCreateOrUpdateIssueNotifications(t *testing.T) {
14
assert.NoError(t, PrepareTestDatabase())
15
issue := AssertExistsAndLoadBean(t, &Issue{ID: 1}).(*Issue)
16
17
- assert.NoError(t, CreateOrUpdateIssueNotifications(issue, 2))
+ assert.NoError(t, CreateOrUpdateIssueNotifications(issue.ID, 0, 2))
18
19
// User 9 is inactive, thus notifications for user 1 and 4 are created
20
notf := AssertExistsAndLoadBean(t, &Notification{UserID: 1, IssueID: issue.ID}).(*Notification)
0 commit comments