Skip to content

Commit 106cd49

Browse files
committed
remove duplicated TestMain
1 parent e344dc9 commit 106cd49

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

modules/repository/fork_test.go

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,17 +5,12 @@
55
package repository
66

77
import (
8-
"path/filepath"
98
"testing"
109

1110
"code.gitea.io/gitea/models"
1211
"github.com/stretchr/testify/assert"
1312
)
1413

15-
func TestMain(m *testing.M) {
16-
models.MainTest(m, filepath.Join("..", ".."))
17-
}
18-
1914
func TestForkRepository(t *testing.T) {
2015
assert.NoError(t, models.PrepareTestDatabase())
2116

0 commit comments

Comments
 (0)