From 47488c90178544ddbaa5be544c3da61ec3a1979f Mon Sep 17 00:00:00 2001 From: UbitUmarov Date: Sat, 20 Oct 2018 16:01:26 +0100 Subject: change ossl tests setup --- OpenSim/Region/ScriptEngine/Shared/Tests/OSSL_ApiNpcTests.cs | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'OpenSim/Region/ScriptEngine/Shared/Tests/OSSL_ApiNpcTests.cs') 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 IConfigSource initConfigSource = new IniConfigSource(); IConfig config = initConfigSource.AddConfig("XEngine"); config.Set("Enabled", "true"); - config.Set("AllowOSFunctions", "true"); - config.Set("OSFunctionThreatLevel", "Severe"); + config = initConfigSource.AddConfig("NPC"); config.Set("Enabled", "true"); + config = initConfigSource.AddConfig("OSSL"); + config.Set("DebuggerSafe", false); + config.Set("AllowOSFunctions", "true"); + config.Set("OSFunctionThreatLevel", "Severe"); + m_scene = new SceneHelpers().SetupScene(); SceneHelpers.SetupSceneModules( m_scene, initConfigSource, new AvatarFactoryModule(), new AttachmentsModule(), new NPCModule()); -- cgit v1.1