Skip to content

Commit 18ecee5

Browse files
committed
fix tests
1 parent c2095cf commit 18ecee5

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

services/mirror/mirror_test.go

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ import (
1111
"code.gitea.io/gitea/models"
1212
"code.gitea.io/gitea/modules/git"
1313

14-
"gitea.com/lunny/path"
1514
"github.com/stretchr/testify/assert"
1615
)
1716

@@ -26,8 +25,6 @@ func TestRelease_MirrorDelete(t *testing.T) {
2625
repo := models.AssertExistsAndLoadBean(t, &models.Repository{ID: 1}).(*models.Repository)
2726
repoPath := models.RepoPath(user.Name, repo.Name)
2827

29-
assert.NoError(t, path.CopyDir("../../integrations/gitea-repositories-meta/user2/repo1.git", repoPath))
30-
3128
migrationOptions := models.MigrateRepoOptions{
3229
Name: "test_mirror",
3330
Description: "Test mirror",

0 commit comments

Comments
 (0)