mirror of
https://github.com/go-gitea/gitea
synced 2025-12-07 13:28:25 +00:00
Add unit tests for Review
Signed-off-by: Jonas Franz <info@jonasfranz.software>
This commit is contained in:
+1
-1
@@ -60,7 +60,7 @@ type Review struct {
|
||||
}
|
||||
|
||||
func (r *Review) loadCodeComments(e Engine) (err error) {
|
||||
r.CodeComments, err = findComments(e, FindCommentsOptions{IssueID: r.IssueID, ReviewID: r.ID})
|
||||
r.CodeComments, err = findComments(e, FindCommentsOptions{IssueID: r.IssueID, ReviewID: r.ID, Type: CommentTypeCode})
|
||||
return
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user