Skip to content

Commit 2bcf5ca

Browse files
committed
fix test
1 parent 0fd9e3f commit 2bcf5ca

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

models/notification_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ func TestCreateOrUpdateIssueNotifications(t *testing.T) {
1414
assert.NoError(t, PrepareTestDatabase())
1515
issue := AssertExistsAndLoadBean(t, &Issue{ID: 1}).(*Issue)
1616

17-
assert.NoError(t, CreateOrUpdateIssueNotifications(issue, 2))
17+
assert.NoError(t, CreateOrUpdateIssueNotifications(issue.ID, 0, 2))
1818

1919
// User 9 is inactive, thus notifications for user 1 and 4 are created
2020
notf := AssertExistsAndLoadBean(t, &Notification{UserID: 1, IssueID: issue.ID}).(*Notification)

0 commit comments

Comments
 (0)