summaryrefslogtreecommitdiffstats
path: root/models/issues/dependency_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'models/issues/dependency_test.go')
-rw-r--r--models/issues/dependency_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/models/issues/dependency_test.go b/models/issues/dependency_test.go
index 7af30b2019..cdc8e3182d 100644
--- a/models/issues/dependency_test.go
+++ b/models/issues/dependency_test.go
@@ -18,7 +18,7 @@ func TestCreateIssueDependency(t *testing.T) {
// Prepare
assert.NoError(t, unittest.PrepareTestDatabase())
- user1, err := user_model.GetUserByID(1)
+ user1, err := user_model.GetUserByID(db.DefaultContext, 1)
assert.NoError(t, err)
issue1, err := issues_model.GetIssueByID(db.DefaultContext, 1)