Make TestSetPhysicsSinglePrim() actually add the object to the scene in order to test more code paths.
parent
ed9bf5b0c6
commit
123e781cb3
|
@ -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));
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue