aboutsummaryrefslogtreecommitdiffstats
path: root/models/review_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'models/review_test.go')
-rw-r--r--models/review_test.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/models/review_test.go b/models/review_test.go
index 7103962ce9..702e216824 100644
--- a/models/review_test.go
+++ b/models/review_test.go
@@ -130,6 +130,9 @@ func TestGetReviewersByIssueID(t *testing.T) {
})
allReviews, err := GetReviewersByIssueID(issue.ID)
+ for _, reviewer := range allReviews {
+ assert.NoError(t, reviewer.LoadReviewer())
+ }
assert.NoError(t, err)
if assert.Len(t, allReviews, 3) {
for i, review := range allReviews {