summaryrefslogtreecommitdiffstats
path: root/services/issue/issue_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'services/issue/issue_test.go')
-rw-r--r--services/issue/issue_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/services/issue/issue_test.go b/services/issue/issue_test.go
index 44168388e6..b67d2e2e79 100644
--- a/services/issue/issue_test.go
+++ b/services/issue/issue_test.go
@@ -66,7 +66,7 @@ func TestIssue_DeleteIssue(t *testing.T) {
}
// check issue dependencies
- user, err := user_model.GetUserByID(1)
+ user, err := user_model.GetUserByID(db.DefaultContext, 1)
assert.NoError(t, err)
issue1, err := issues_model.GetIssueByID(db.DefaultContext, 1)
assert.NoError(t, err)