mirror of
https://github.com/go-gitea/gitea
synced 2025-09-18 22:58:14 +00:00
Fix context usages (#35348)
This commit is contained in:
@@ -56,7 +56,7 @@ func initMigrationTest(t *testing.T) func() {
|
||||
|
||||
assert.NotEmpty(t, setting.RepoRootPath)
|
||||
assert.NoError(t, unittest.SyncDirs(filepath.Join(filepath.Dir(setting.AppPath), "tests/gitea-repositories-meta"), setting.RepoRootPath))
|
||||
assert.NoError(t, git.InitFull(t.Context()))
|
||||
assert.NoError(t, git.InitFull())
|
||||
setting.LoadDBSetting()
|
||||
setting.InitLoggersForTest()
|
||||
|
||||
|
Reference in New Issue
Block a user