Fix test failure. Oversight in setting up the tests themselves.
parent
9615292133
commit
f5eace6781
|
@ -70,6 +70,7 @@ namespace OpenSim.Region.OptionalModules.World.NPC.Tests
|
||||||
Util.FireAndForgetMethod = Util.DefaultFireAndForgetMethod;
|
Util.FireAndForgetMethod = Util.DefaultFireAndForgetMethod;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
[SetUp]
|
||||||
public void Init()
|
public void Init()
|
||||||
{
|
{
|
||||||
IConfigSource config = new IniConfigSource();
|
IConfigSource config = new IniConfigSource();
|
||||||
|
@ -82,7 +83,7 @@ namespace OpenSim.Region.OptionalModules.World.NPC.Tests
|
||||||
umm = new UserManagementModule();
|
umm = new UserManagementModule();
|
||||||
am = new AttachmentsModule();
|
am = new AttachmentsModule();
|
||||||
|
|
||||||
TestScene scene = SceneHelpers.SetupScene();
|
scene = SceneHelpers.SetupScene();
|
||||||
SceneHelpers.SetupSceneModules(scene, config, afm, umm, am, new BasicInventoryAccessModule(), new NPCModule());
|
SceneHelpers.SetupSceneModules(scene, config, afm, umm, am, new BasicInventoryAccessModule(), new NPCModule());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue