Make TestSetPhysicsSinglePrim() actually add the object to the scene in order to test more code paths.
parent
8205fe79ce
commit
58c890df5d
|
@ -82,6 +82,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));
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue