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

0.7.4.1
Justin Clark-Casey (justincc) 2012-04-22 20:03:34 +01:00
parent 8205fe79ce
commit 58c890df5d
1 changed files with 2 additions and 0 deletions

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));