don't merge global custom config in test

This commit is contained in:
armv9 2025-09-10 17:13:34 +09:00
parent 52a5825df7
commit c8af494a50

View File

@ -738,7 +738,7 @@ fun buildConfig(
} }
} }
_hack_custom_config = DataStore.globalCustomConfig if (!forTest) _hack_custom_config = DataStore.globalCustomConfig
}.let { }.let {
val configMap = it.asMap() val configMap = it.asMap()
Util.mergeJSON(configMap, proxy.requireBean().customConfigJson) Util.mergeJSON(configMap, proxy.requireBean().customConfigJson)