Fix test failure. Oversight in setting up the tests themselves.

remove-scene-viewer
Justin Clark-Casey (justincc) 2011-09-08 21:54:40 +01:00
parent 9615292133
commit f5eace6781
1 changed files with 2 additions and 1 deletions

View File

@ -70,6 +70,7 @@ namespace OpenSim.Region.OptionalModules.World.NPC.Tests
Util.FireAndForgetMethod = Util.DefaultFireAndForgetMethod;
}
[SetUp]
public void Init()
{
IConfigSource config = new IniConfigSource();
@ -82,7 +83,7 @@ namespace OpenSim.Region.OptionalModules.World.NPC.Tests
umm = new UserManagementModule();
am = new AttachmentsModule();
TestScene scene = SceneHelpers.SetupScene();
scene = SceneHelpers.SetupScene();
SceneHelpers.SetupSceneModules(scene, config, afm, umm, am, new BasicInventoryAccessModule(), new NPCModule());
}