From 2ae45cebbf2ec839bf2280765f958eb60d1f6374 Mon Sep 17 00:00:00 2001 From: Roger Luo Date: Thu, 9 Jun 2022 19:15:08 +0800 Subject: 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 Co-authored-by: wxiaoguang Co-authored-by: Lunny Xiao --- models/repo/main_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'models/repo/main_test.go') 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) { -- cgit v1.2.3