summaryrefslogtreecommitdiffstats
path: root/models/issue_dependency_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'models/issue_dependency_test.go')
-rw-r--r--models/issue_dependency_test.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/models/issue_dependency_test.go b/models/issue_dependency_test.go
index 10872645b0..60fa587389 100644
--- a/models/issue_dependency_test.go
+++ b/models/issue_dependency_test.go
@@ -8,12 +8,13 @@ import (
"testing"
"code.gitea.io/gitea/models/db"
+ "code.gitea.io/gitea/models/unittest"
"github.com/stretchr/testify/assert"
)
func TestCreateIssueDependency(t *testing.T) {
// Prepare
- assert.NoError(t, db.PrepareTestDatabase())
+ assert.NoError(t, unittest.PrepareTestDatabase())
user1, err := GetUserByID(1)
assert.NoError(t, err)