mirror of
https://github.com/go-gitea/gitea.git
synced 2026-10-05 01:46:25 +02:00
Consistency checks for unit tests (#853)
This commit is contained in:
1 parent
94130da63a
commit
ceae143e78
6 files changed
+182
-12
No files matched your search
@@ -20,6 +20,7 @@ func TestCreateOrUpdateIssueNotifications(t *testing.T) {
|
||||
assert.Equal(t, NotificationStatusUnread, notf.Status)
|
||||
notf = AssertExistsAndLoadBean(t, &Notification{UserID: 4, IssueID: issue.ID}).(*Notification)
|
||||
assert.Equal(t, NotificationStatusUnread, notf.Status)
|
||||
CheckConsistencyFor(t, &Issue{ID: issue.ID})
|
||||
}
|
||||
|
||||
func TestNotificationsForUser(t *testing.T) {
|
||||
|
||||
Reference in new issue
Block a user