diff options
author | Lunny Xiao <xiaolunwen@gmail.com> | 2023-05-10 12:57:06 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-05-10 04:57:06 +0000 |
commit | c355728a6fdfb35bc53e283d4447da098f39e3a2 (patch) | |
tree | 3e13e4741deba4475efc42c9ad496b171e8f93d0 /modules/indexer/stats/indexer_test.go | |
parent | 29637b03b2976580613550aef878cc31139c3abf (diff) | |
download | gitea-c355728a6fdfb35bc53e283d4447da098f39e3a2.tar.gz gitea-c355728a6fdfb35bc53e283d4447da098f39e3a2.zip |
Remove unnecessary code (#24610)
As title, remove unnecessary code.
Diffstat (limited to 'modules/indexer/stats/indexer_test.go')
-rw-r--r-- | modules/indexer/stats/indexer_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/indexer/stats/indexer_test.go b/modules/indexer/stats/indexer_test.go index be9c6659f1..2d9844f8c9 100644 --- a/modules/indexer/stats/indexer_test.go +++ b/modules/indexer/stats/indexer_test.go @@ -28,7 +28,7 @@ func TestMain(m *testing.M) { func TestRepoStatsIndex(t *testing.T) { assert.NoError(t, unittest.PrepareTestDatabase()) - setting.CfgProvider = setting.NewEmptyConfigProvider() + setting.CfgProvider, _ = setting.NewConfigProviderFromData("") setting.LoadQueueSettings() |