aboutsummaryrefslogtreecommitdiffstats
path: root/models/issue_assignees_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'models/issue_assignees_test.go')
-rw-r--r--models/issue_assignees_test.go5
1 files changed, 5 insertions, 0 deletions
diff --git a/models/issue_assignees_test.go b/models/issue_assignees_test.go
index 79257013f8..e0359b0b9f 100644
--- a/models/issue_assignees_test.go
+++ b/models/issue_assignees_test.go
@@ -61,6 +61,11 @@ func TestUpdateAssignee(t *testing.T) {
}
func TestMakeIDsFromAPIAssigneesToAdd(t *testing.T) {
+ assert.NoError(t, PrepareTestDatabase())
+
+ _ = AssertExistsAndLoadBean(t, &User{ID: 1}).(*User)
+ _ = AssertExistsAndLoadBean(t, &User{ID: 2}).(*User)
+
IDs, err := MakeIDsFromAPIAssigneesToAdd("", []string{""})
assert.NoError(t, err)
assert.Equal(t, []int64{}, IDs)