aboutsummaryrefslogtreecommitdiffstats
path: root/models/main_test.go
diff options
context:
space:
mode:
authorLunny Xiao <xiaolunwen@gmail.com>2022-06-13 17:37:59 +0800
committerGitHub <noreply@github.com>2022-06-13 17:37:59 +0800
commit1a9821f57a0293db3adc0eab8aff08ca5fa1026c (patch)
tree3c3d02813eb63c0d0827ef6d9745f6dcdd2636cb /models/main_test.go
parent3708ca8e2849ca7e36e6bd15ec6935a2a2d81e55 (diff)
downloadgitea-1a9821f57a0293db3adc0eab8aff08ca5fa1026c.tar.gz
gitea-1a9821f57a0293db3adc0eab8aff08ca5fa1026c.zip
Move issues related files into models/issues (#19931)
* Move access and repo permission to models/perm/access * fix test * fix git test * Move functions sequence * Some improvements per @KN4CK3R and @delvh * Move issues related code to models/issues * Move some issues related sub package * Merge * Fix test * Fix test * Fix test * Fix test * Rename some files
Diffstat (limited to 'models/main_test.go')
-rw-r--r--models/main_test.go5
1 files changed, 0 insertions, 5 deletions
diff --git a/models/main_test.go b/models/main_test.go
index 96231e4704..bb2fedc15a 100644
--- a/models/main_test.go
+++ b/models/main_test.go
@@ -7,7 +7,6 @@ package models
import (
"testing"
- issues_model "code.gitea.io/gitea/models/issues"
"code.gitea.io/gitea/models/organization"
repo_model "code.gitea.io/gitea/models/repo"
"code.gitea.io/gitea/models/unittest"
@@ -28,10 +27,6 @@ func TestFixturesAreConsistent(t *testing.T) {
unittest.CheckConsistencyFor(t,
&user_model.User{},
&repo_model.Repository{},
- &Issue{},
- &PullRequest{},
- &issues_model.Milestone{},
- &Label{},
&organization.Team{},
&Action{})
}