summaryrefslogtreecommitdiffstats
path: root/services/issue/assignee_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'services/issue/assignee_test.go')
-rw-r--r--services/issue/assignee_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/services/issue/assignee_test.go b/services/issue/assignee_test.go
index 946085cb91..114ace078e 100644
--- a/services/issue/assignee_test.go
+++ b/services/issue/assignee_test.go
@@ -22,7 +22,7 @@ func TestDeleteNotPassedAssignee(t *testing.T) {
assert.NoError(t, err)
assert.EqualValues(t, 1, len(issue.Assignees))
- user1, err := user_model.GetUserByID(1) // This user is already assigned (see the definition in fixtures), so running UpdateAssignee should unassign him
+ user1, err := user_model.GetUserByID(db.DefaultContext, 1) // This user is already assigned (see the definition in fixtures), so running UpdateAssignee should unassign him
assert.NoError(t, err)
// Check if he got removed