Consistency checks for unit tests (#853)
This commit is contained in:
parent
94130da63a
commit
ceae143e78
6 changed files with 182 additions and 12 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue