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

This commit is contained in:
Justin Clark-Casey (justincc)
2012-04-22 20:03:34 +01:00
parent 8205fe79ce
commit 58c890df5d

View File

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