Make TestSetPhysicsSinglePrim() actually add the object to the scene in order to test more code paths.

0.7.3-extended
Justin Clark-Casey (justincc) 2012-04-22 20:03:34 +01:00
parent ed9bf5b0c6
commit 123e781cb3
1 changed files with 2 additions and 0 deletions

View File

@ -76,6 +76,8 @@ namespace OpenSim.Region.Framework.Scenes.Tests
{ {
TestHelpers.InMethod(); TestHelpers.InMethod();
m_scene.AddSceneObject(m_so1);
SceneObjectPart rootPart = m_so1.RootPart; SceneObjectPart rootPart = m_so1.RootPart;
Assert.That(rootPart.Flags, Is.EqualTo(PrimFlags.None)); Assert.That(rootPart.Flags, Is.EqualTo(PrimFlags.None));