aboutsummaryrefslogtreecommitdiffstats
path: root/models/issue_tracked_time_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'models/issue_tracked_time_test.go')
-rw-r--r--models/issue_tracked_time_test.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/models/issue_tracked_time_test.go b/models/issue_tracked_time_test.go
index 83420f5a15..97efd8bb72 100644
--- a/models/issue_tracked_time_test.go
+++ b/models/issue_tracked_time_test.go
@@ -9,6 +9,7 @@ import (
"time"
"code.gitea.io/gitea/models/unittest"
+ user_model "code.gitea.io/gitea/models/user"
"github.com/stretchr/testify/assert"
)
@@ -16,7 +17,7 @@ import (
func TestAddTime(t *testing.T) {
assert.NoError(t, unittest.PrepareTestDatabase())
- user3, err := GetUserByID(3)
+ user3, err := user_model.GetUserByID(3)
assert.NoError(t, err)
issue1, err := GetIssueByID(1)