diff options
Diffstat (limited to 'OpenSim/Region/Framework/Scenes/Tests')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/Tests/SceneObjectBasicTests.cs | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/OpenSim/Region/Framework/Scenes/Tests/SceneObjectBasicTests.cs b/OpenSim/Region/Framework/Scenes/Tests/SceneObjectBasicTests.cs index 281b85c..9586877 100644 --- a/OpenSim/Region/Framework/Scenes/Tests/SceneObjectBasicTests.cs +++ b/OpenSim/Region/Framework/Scenes/Tests/SceneObjectBasicTests.cs | |||
@@ -132,6 +132,12 @@ namespace OpenSim.Region.Framework.Scenes.Tests | |||
132 | 132 | ||
133 | // Test that we don't get back an object for a local id that doesn't exist | 133 | // Test that we don't get back an object for a local id that doesn't exist |
134 | Assert.That(scene.GetGroupByPrim(999), Is.Null); | 134 | Assert.That(scene.GetGroupByPrim(999), Is.Null); |
135 | |||
136 | // Now delete the scene object and check again | ||
137 | scene.DeleteSceneObject(so, false); | ||
138 | |||
139 | Assert.That(scene.GetGroupByPrim(so.LocalId), Is.Null); | ||
140 | Assert.That(scene.GetGroupByPrim(parts[partsToTestCount - 1].LocalId), Is.Null); | ||
135 | } | 141 | } |
136 | 142 | ||
137 | /// <summary> | 143 | /// <summary> |