diff options
Diffstat (limited to 'modules/repofiles/tree_test.go')
-rw-r--r-- | modules/repofiles/tree_test.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/repofiles/tree_test.go b/modules/repofiles/tree_test.go index 274e89e969..9e2efa4216 100644 --- a/modules/repofiles/tree_test.go +++ b/modules/repofiles/tree_test.go @@ -7,7 +7,7 @@ package repofiles import ( "testing" - "code.gitea.io/gitea/models" + "code.gitea.io/gitea/models/db" api "code.gitea.io/gitea/modules/structs" "code.gitea.io/gitea/modules/test" @@ -15,7 +15,7 @@ import ( ) func TestGetTreeBySHA(t *testing.T) { - models.PrepareTestEnv(t) + db.PrepareTestEnv(t) ctx := test.MockContext(t, "user2/repo1") test.LoadRepo(t, ctx, 1) test.LoadRepoCommit(t, ctx) |