aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine/Shared/Tests/OSSL_ApiAppearanceTest.cs
diff options
context:
space:
mode:
authorUbitUmarov2018-10-20 16:01:26 +0100
committerUbitUmarov2018-10-20 16:01:26 +0100
commit47488c90178544ddbaa5be544c3da61ec3a1979f (patch)
treedd0cbe27171615248184e3c2029de604ed8da068 /OpenSim/Region/ScriptEngine/Shared/Tests/OSSL_ApiAppearanceTest.cs
parentossl error messages are not from a agent (diff)
downloadopensim-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 '')
-rw-r--r--OpenSim/Region/ScriptEngine/Shared/Tests/OSSL_ApiAppearanceTest.cs9
1 files changed, 7 insertions, 2 deletions
diff --git a/OpenSim/Region/ScriptEngine/Shared/Tests/OSSL_ApiAppearanceTest.cs b/OpenSim/Region/ScriptEngine/Shared/Tests/OSSL_ApiAppearanceTest.cs
index 2f9a564..7d042c6 100644
--- a/OpenSim/Region/ScriptEngine/Shared/Tests/OSSL_ApiAppearanceTest.cs
+++ b/OpenSim/Region/ScriptEngine/Shared/Tests/OSSL_ApiAppearanceTest.cs
@@ -64,11 +64,16 @@ namespace OpenSim.Region.ScriptEngine.Shared.Tests
64 IConfigSource initConfigSource = new IniConfigSource(); 64 IConfigSource initConfigSource = new IniConfigSource();
65 IConfig config = initConfigSource.AddConfig("XEngine"); 65 IConfig config = initConfigSource.AddConfig("XEngine");
66 config.Set("Enabled", "true"); 66 config.Set("Enabled", "true");
67 config.Set("AllowOSFunctions", "true"); 67
68 config.Set("OSFunctionThreatLevel", "Severe");
69 config = initConfigSource.AddConfig("NPC"); 68 config = initConfigSource.AddConfig("NPC");
70 config.Set("Enabled", "true"); 69 config.Set("Enabled", "true");
71 70
71 config = initConfigSource.AddConfig("OSSL");
72 config.Set("DebuggerSafe", false);
73 config.Set("AllowOSFunctions", "true");
74 config.Set("OSFunctionThreatLevel", "Severe");
75
76
72 m_scene = new SceneHelpers().SetupScene(); 77 m_scene = new SceneHelpers().SetupScene();
73 SceneHelpers.SetupSceneModules(m_scene, initConfigSource, new AvatarFactoryModule(), new NPCModule()); 78 SceneHelpers.SetupSceneModules(m_scene, initConfigSource, new AvatarFactoryModule(), new NPCModule());
74 79