diff options
Diffstat (limited to 'OpenSim/Region/OptionalModules')
-rw-r--r-- | OpenSim/Region/OptionalModules/World/NPC/Tests/NPCModuleTests.cs | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/OpenSim/Region/OptionalModules/World/NPC/Tests/NPCModuleTests.cs b/OpenSim/Region/OptionalModules/World/NPC/Tests/NPCModuleTests.cs index 46e39ef..4e2b5f1 100644 --- a/OpenSim/Region/OptionalModules/World/NPC/Tests/NPCModuleTests.cs +++ b/OpenSim/Region/OptionalModules/World/NPC/Tests/NPCModuleTests.cs | |||
@@ -87,7 +87,7 @@ namespace OpenSim.Region.OptionalModules.World.NPC.Tests | |||
87 | public void TestMove() | 87 | public void TestMove() |
88 | { | 88 | { |
89 | TestHelper.InMethod(); | 89 | TestHelper.InMethod(); |
90 | log4net.Config.XmlConfigurator.Configure(); | 90 | // log4net.Config.XmlConfigurator.Configure(); |
91 | 91 | ||
92 | IConfigSource config = new IniConfigSource(); | 92 | IConfigSource config = new IniConfigSource(); |
93 | 93 | ||
@@ -106,6 +106,12 @@ namespace OpenSim.Region.OptionalModules.World.NPC.Tests | |||
106 | ScenePresence npc = scene.GetScenePresence(npcId); | 106 | ScenePresence npc = scene.GetScenePresence(npcId); |
107 | Assert.That(npc.AbsolutePosition, Is.EqualTo(startPos)); | 107 | Assert.That(npc.AbsolutePosition, Is.EqualTo(startPos)); |
108 | 108 | ||
109 | // For now, we'll make the scene presence fly to simplify this test, but this needs to change. | ||
110 | npc.PhysicsActor.Flying = true; | ||
111 | |||
112 | scene.Update(); | ||
113 | Assert.That(npc.AbsolutePosition, Is.EqualTo(startPos)); | ||
114 | |||
109 | // Not yet complete | 115 | // Not yet complete |
110 | } | 116 | } |
111 | } | 117 | } |