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.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/services/issue/assignee_test.go b/services/issue/assignee_test.go
index 2d96368ec7..5684ed6d89 100644
--- a/services/issue/assignee_test.go
+++ b/services/issue/assignee_test.go
@@ -8,11 +8,12 @@ import (
"testing"
"code.gitea.io/gitea/models"
+ "code.gitea.io/gitea/models/db"
"github.com/stretchr/testify/assert"
)
func TestDeleteNotPassedAssignee(t *testing.T) {
- assert.NoError(t, models.PrepareTestDatabase())
+ assert.NoError(t, db.PrepareTestDatabase())
// Fake issue with assignees
issue, err := models.GetIssueWithAttrsByID(1)