diff options
Diffstat (limited to 'OpenSim/Region/ScriptEngine/Shared/Tests/OSSL_ApiNpcTests.cs')
-rw-r--r-- | OpenSim/Region/ScriptEngine/Shared/Tests/OSSL_ApiNpcTests.cs | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/OpenSim/Region/ScriptEngine/Shared/Tests/OSSL_ApiNpcTests.cs b/OpenSim/Region/ScriptEngine/Shared/Tests/OSSL_ApiNpcTests.cs index 6936191..b44cc16 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Tests/OSSL_ApiNpcTests.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Tests/OSSL_ApiNpcTests.cs | |||
@@ -66,11 +66,15 @@ namespace OpenSim.Region.ScriptEngine.Shared.Tests | |||
66 | IConfigSource initConfigSource = new IniConfigSource(); | 66 | IConfigSource initConfigSource = new IniConfigSource(); |
67 | IConfig config = initConfigSource.AddConfig("XEngine"); | 67 | IConfig config = initConfigSource.AddConfig("XEngine"); |
68 | config.Set("Enabled", "true"); | 68 | config.Set("Enabled", "true"); |
69 | config.Set("AllowOSFunctions", "true"); | 69 | |
70 | config.Set("OSFunctionThreatLevel", "Severe"); | ||
71 | config = initConfigSource.AddConfig("NPC"); | 70 | config = initConfigSource.AddConfig("NPC"); |
72 | config.Set("Enabled", "true"); | 71 | config.Set("Enabled", "true"); |
73 | 72 | ||
73 | config = initConfigSource.AddConfig("OSSL"); | ||
74 | config.Set("DebuggerSafe", false); | ||
75 | config.Set("AllowOSFunctions", "true"); | ||
76 | config.Set("OSFunctionThreatLevel", "Severe"); | ||
77 | |||
74 | m_scene = new SceneHelpers().SetupScene(); | 78 | m_scene = new SceneHelpers().SetupScene(); |
75 | SceneHelpers.SetupSceneModules( | 79 | SceneHelpers.SetupSceneModules( |
76 | m_scene, initConfigSource, new AvatarFactoryModule(), new AttachmentsModule(), new NPCModule()); | 80 | m_scene, initConfigSource, new AvatarFactoryModule(), new AttachmentsModule(), new NPCModule()); |