summaryrefslogtreecommitdiffstats
path: root/models/issues/comment_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'models/issues/comment_test.go')
-rw-r--r--models/issues/comment_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/models/issues/comment_test.go b/models/issues/comment_test.go
index 6a647474dc..0d0570ae34 100644
--- a/models/issues/comment_test.go
+++ b/models/issues/comment_test.go
@@ -24,7 +24,7 @@ func TestCreateComment(t *testing.T) {
doer := unittest.AssertExistsAndLoadBean(t, &user_model.User{ID: repo.OwnerID})
now := time.Now().Unix()
- comment, err := issues_model.CreateComment(&issues_model.CreateCommentOptions{
+ comment, err := issues_model.CreateComment(db.DefaultContext, &issues_model.CreateCommentOptions{
Type: issues_model.CommentTypeComment,
Doer: doer,
Repo: repo,