Fix context usages (#35348)

This commit is contained in:
wxiaoguang authored and GitHub committed 2025-08-27 11:00:01 +00:00
1 parent da5ce5c8e7
commit e837c998b7
48 files changed
+98 -100

No files matched your search

@@ -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()