summaryrefslogtreecommitdiffstats
path: root/modules/convert/issue_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'modules/convert/issue_test.go')
-rw-r--r--modules/convert/issue_test.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/modules/convert/issue_test.go b/modules/convert/issue_test.go
index fb75413eab..b237c18f69 100644
--- a/modules/convert/issue_test.go
+++ b/modules/convert/issue_test.go
@@ -10,6 +10,7 @@ import (
"time"
"code.gitea.io/gitea/models"
+ issues_model "code.gitea.io/gitea/models/issues"
repo_model "code.gitea.io/gitea/models/repo"
"code.gitea.io/gitea/models/unittest"
"code.gitea.io/gitea/modules/setting"
@@ -32,7 +33,7 @@ func TestLabel_ToLabel(t *testing.T) {
}
func TestMilestone_APIFormat(t *testing.T) {
- milestone := &models.Milestone{
+ milestone := &issues_model.Milestone{
ID: 3,
RepoID: 4,
Name: "milestoneName",