diff options
author | UbitUmarov | 2018-10-20 16:01:26 +0100 |
---|---|---|
committer | UbitUmarov | 2018-10-20 16:01:26 +0100 |
commit | 47488c90178544ddbaa5be544c3da61ec3a1979f (patch) | |
tree | dd0cbe27171615248184e3c2029de604ed8da068 /OpenSim/Region/ScriptEngine/Shared/Tests/OSSL_ApiNpcTests.cs | |
parent | ossl error messages are not from a agent (diff) | |
download | opensim-SC-47488c90178544ddbaa5be544c3da61ec3a1979f.zip opensim-SC-47488c90178544ddbaa5be544c3da61ec3a1979f.tar.gz opensim-SC-47488c90178544ddbaa5be544c3da61ec3a1979f.tar.bz2 opensim-SC-47488c90178544ddbaa5be544c3da61ec3a1979f.tar.xz |
change ossl tests setup
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()); |