aboutsummaryrefslogtreecommitdiffstats
path: root/models/repo/main_test.go
diff options
context:
space:
mode:
authorRoger Luo <rogerluo410@gmail.com>2022-06-09 19:15:08 +0800
committerGitHub <noreply@github.com>2022-06-09 14:15:08 +0300
commit2ae45cebbf2ec839bf2280765f958eb60d1f6374 (patch)
tree7e5a81f11ceebcbaf7c71cf9853a4c21fe28eeaf /models/repo/main_test.go
parent7948cb3149ab64484a8d4c6644f53f9f39accbef (diff)
downloadgitea-2ae45cebbf2ec839bf2280765f958eb60d1f6374.tar.gz
gitea-2ae45cebbf2ec839bf2280765f958eb60d1f6374.zip
Feature: Find files in repo (#15028)
* Create finding files page ui in repo page * Get tree entries for find repo files. * Move find files JS to individual file. * gen swagger. * Add enry.IsVendor to exclude entries Co-authored-by: delvh <dev.lh@web.de> Co-authored-by: wxiaoguang <wxiaoguang@gmail.com> Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
Diffstat (limited to 'models/repo/main_test.go')
-rw-r--r--models/repo/main_test.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/models/repo/main_test.go b/models/repo/main_test.go
index eb04aa8227..f6d704ca65 100644
--- a/models/repo/main_test.go
+++ b/models/repo/main_test.go
@@ -8,12 +8,12 @@ import (
"path/filepath"
"testing"
+ "code.gitea.io/gitea/models/unittest"
+
_ "code.gitea.io/gitea/models" // register table model
_ "code.gitea.io/gitea/models/perm/access" // register table model
_ "code.gitea.io/gitea/models/repo" // register table model
_ "code.gitea.io/gitea/models/user" // register table model
-
- "code.gitea.io/gitea/models/unittest"
)
func TestMain(m *testing.M) {