diff --git a/GFramework.Game.Tests/Config/ArchitectureConfigIntegrationTests.cs b/GFramework.Game.Tests/Config/ArchitectureConfigIntegrationTests.cs
index f9a2492f..3020f9fd 100644
--- a/GFramework.Game.Tests/Config/ArchitectureConfigIntegrationTests.cs
+++ b/GFramework.Game.Tests/Config/ArchitectureConfigIntegrationTests.cs
@@ -325,8 +325,8 @@ public class ArchitectureConfigIntegrationTests
}
///
- /// 创建一个使用配置模块的模块实例。
- ///
+ /// 创建一个使用配置模块的模块实例。
+ ///
/// 测试配置根目录。
/// 已配置的模块实例。
private static GameConfigModule CreateModule(string configRoot)
@@ -529,7 +529,9 @@ public class ArchitectureConfigIntegrationTests
///
protected override void OnInit()
{
+#pragma warning disable GF_ContextRegistration_003
var registry = this.GetUtility();
+#pragma warning restore GF_ContextRegistration_003
var monsterTable = registry.GetMonsterTable();
ObservedMonsterName = monsterTable.Get(1).Name;