diff options
author | Justin Clark-Casey (justincc) | 2011-09-08 21:54:40 +0100 |
---|---|---|
committer | Justin Clark-Casey (justincc) | 2011-09-08 21:54:40 +0100 |
commit | f5eace678124088e29bd8dd2fc7da6e96f8cf60d (patch) | |
tree | dd0de59223601495a2c5604c3640c45f82f32771 /OpenSim/Region/OptionalModules | |
parent | Centralize module setup for NPC tests. (diff) | |
download | opensim-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.
Diffstat (limited to 'OpenSim/Region/OptionalModules')
-rw-r--r-- | OpenSim/Region/OptionalModules/World/NPC/Tests/NPCModuleTests.cs | 3 |
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 | ||