mirror of
				https://gitee.com/gitea/gitea
				synced 2025-11-04 16:40:24 +08:00 
			
		
		
		
	Consistency checks for unit tests (#853)
This commit is contained in:
		@@ -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