mirror of
https://github.com/go-gitea/gitea
synced 2025-07-22 18:28:37 +00:00
Move create/fork repository from models to modules/repository (#9489)
* Move create/fork repository from models to modules/repository * fix wrong reference * fix test * fix test * fix lint * Fix DBContext * remove duplicated TestMain * fix lint * fix conflicts
This commit is contained in:
@@ -38,7 +38,7 @@ func TestRelease_MirrorDelete(t *testing.T) {
|
||||
Releases: false,
|
||||
}
|
||||
|
||||
mirrorRepo, err := models.CreateRepository(user, user, models.CreateRepoOptions{
|
||||
mirrorRepo, err := repository.CreateRepository(user, user, models.CreateRepoOptions{
|
||||
Name: opts.RepoName,
|
||||
Description: opts.Description,
|
||||
IsPrivate: opts.Private,
|
||||
|
Reference in New Issue
Block a user