diff options
Diffstat (limited to 'models/issues/issue_list_test.go')
-rw-r--r-- | models/issues/issue_list_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/models/issues/issue_list_test.go b/models/issues/issue_list_test.go index 696c3b765d..9069e1012d 100644 --- a/models/issues/issue_list_test.go +++ b/models/issues/issue_list_test.go @@ -39,7 +39,7 @@ func TestIssueList_LoadAttributes(t *testing.T) { unittest.AssertExistsAndLoadBean(t, &issues_model.Issue{ID: 4}), } - assert.NoError(t, issueList.LoadAttributes()) + assert.NoError(t, issueList.LoadAttributes(db.DefaultContext)) for _, issue := range issueList { assert.EqualValues(t, issue.RepoID, issue.Repo.ID) for _, label := range issue.Labels { |