summaryrefslogtreecommitdiffstats
path: root/services/repository/files
diff options
context:
space:
mode:
authorLunny Xiao <xiaolunwen@gmail.com>2023-09-08 12:51:15 +0800
committerGitHub <noreply@github.com>2023-09-08 04:51:15 +0000
commit4f32abaf941ba30ade1f96930a05d14f1c6a6782 (patch)
tree9351b7d654b20db032867041b0292924ec93bb3f /services/repository/files
parent3c0c27965836328abd2668dcd77710ee2460535e (diff)
downloadgitea-4f32abaf941ba30ade1f96930a05d14f1c6a6782.tar.gz
gitea-4f32abaf941ba30ade1f96930a05d14f1c6a6782.zip
move repository deletion to service layer (#26948)
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
Diffstat (limited to 'services/repository/files')
-rw-r--r--services/repository/files/content_test.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/services/repository/files/content_test.go b/services/repository/files/content_test.go
index 3e4c1e2c70..d591c46839 100644
--- a/services/repository/files/content_test.go
+++ b/services/repository/files/content_test.go
@@ -13,6 +13,8 @@ import (
"code.gitea.io/gitea/modules/git"
api "code.gitea.io/gitea/modules/structs"
+ _ "code.gitea.io/gitea/models/actions"
+
"github.com/stretchr/testify/assert"
)