aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorJustin Clark-Casey (justincc)2011-09-08 21:54:40 +0100
committerJustin Clark-Casey (justincc)2011-09-08 21:54:40 +0100
commitf5eace678124088e29bd8dd2fc7da6e96f8cf60d (patch)
treedd0de59223601495a2c5604c3640c45f82f32771
parentCentralize module setup for NPC tests. (diff)
downloadopensim-SC-f5eace678124088e29bd8dd2fc7da6e96f8cf60d.zip
opensim-SC-f5eace678124088e29bd8dd2fc7da6e96f8cf60d.tar.gz
opensim-SC-f5eace678124088e29bd8dd2fc7da6e96f8cf60d.tar.bz2
opensim-SC-f5eace678124088e29bd8dd2fc7da6e96f8cf60d.tar.xz
Fix test failure. Oversight in setting up the tests themselves.
-rw-r--r--OpenSim/Region/OptionalModules/World/NPC/Tests/NPCModuleTests.cs3
1 files changed, 2 insertions, 1 deletions
diff --git a/OpenSim/Region/OptionalModules/World/NPC/Tests/NPCModuleTests.cs b/OpenSim/Region/OptionalModules/World/NPC/Tests/NPCModuleTests.cs
index 10d8bfa..246bc34 100644
--- a/OpenSim/Region/OptionalModules/World/NPC/Tests/NPCModuleTests.cs
+++ b/OpenSim/Region/OptionalModules/World/NPC/Tests/NPCModuleTests.cs
@@ -70,6 +70,7 @@ namespace OpenSim.Region.OptionalModules.World.NPC.Tests
70 Util.FireAndForgetMethod = Util.DefaultFireAndForgetMethod; 70 Util.FireAndForgetMethod = Util.DefaultFireAndForgetMethod;
71 } 71 }
72 72
73 [SetUp]
73 public void Init() 74 public void Init()
74 { 75 {
75 IConfigSource config = new IniConfigSource(); 76 IConfigSource config = new IniConfigSource();
@@ -82,7 +83,7 @@ namespace OpenSim.Region.OptionalModules.World.NPC.Tests
82 umm = new UserManagementModule(); 83 umm = new UserManagementModule();
83 am = new AttachmentsModule(); 84 am = new AttachmentsModule();
84 85
85 TestScene scene = SceneHelpers.SetupScene(); 86 scene = SceneHelpers.SetupScene();
86 SceneHelpers.SetupSceneModules(scene, config, afm, umm, am, new BasicInventoryAccessModule(), new NPCModule()); 87 SceneHelpers.SetupSceneModules(scene, config, afm, umm, am, new BasicInventoryAccessModule(), new NPCModule());
87 } 88 }
88 89