diff options
Diffstat (limited to 'OpenSim/Region/CoreModules/Avatar/Attachments/Tests/AttachmentsModuleTests.cs')
-rw-r--r-- | OpenSim/Region/CoreModules/Avatar/Attachments/Tests/AttachmentsModuleTests.cs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/OpenSim/Region/CoreModules/Avatar/Attachments/Tests/AttachmentsModuleTests.cs b/OpenSim/Region/CoreModules/Avatar/Attachments/Tests/AttachmentsModuleTests.cs index f0dc238..f1b002b 100644 --- a/OpenSim/Region/CoreModules/Avatar/Attachments/Tests/AttachmentsModuleTests.cs +++ b/OpenSim/Region/CoreModules/Avatar/Attachments/Tests/AttachmentsModuleTests.cs | |||
@@ -224,7 +224,7 @@ namespace OpenSim.Region.CoreModules.Avatar.Attachments.Tests | |||
224 | Assert.That(attachmentItem, Is.Not.Null); | 224 | Assert.That(attachmentItem, Is.Not.Null); |
225 | Assert.That(attachmentItem.Name, Is.EqualTo(attName)); | 225 | Assert.That(attachmentItem.Name, Is.EqualTo(attName)); |
226 | 226 | ||
227 | InventoryFolderBase targetFolder = scene.InventoryService.GetFolderForType(sp.UUID, AssetType.Object); | 227 | InventoryFolderBase targetFolder = scene.InventoryService.GetFolderForType(sp.UUID, FolderType.Object); |
228 | Assert.That(attachmentItem.Folder, Is.EqualTo(targetFolder.ID)); | 228 | Assert.That(attachmentItem.Folder, Is.EqualTo(targetFolder.ID)); |
229 | 229 | ||
230 | Assert.That(scene.GetSceneObjectGroups().Count, Is.EqualTo(1)); | 230 | Assert.That(scene.GetSceneObjectGroups().Count, Is.EqualTo(1)); |
@@ -271,7 +271,7 @@ namespace OpenSim.Region.CoreModules.Avatar.Attachments.Tests | |||
271 | Assert.That(attachmentItem, Is.Not.Null); | 271 | Assert.That(attachmentItem, Is.Not.Null); |
272 | Assert.That(attachmentItem.Name, Is.EqualTo(so.Name)); | 272 | Assert.That(attachmentItem.Name, Is.EqualTo(so.Name)); |
273 | 273 | ||
274 | InventoryFolderBase targetFolder = scene.InventoryService.GetFolderForType(sp.UUID, AssetType.Object); | 274 | InventoryFolderBase targetFolder = scene.InventoryService.GetFolderForType(sp.UUID, FolderType.Object); |
275 | Assert.That(attachmentItem.Folder, Is.EqualTo(targetFolder.ID)); | 275 | Assert.That(attachmentItem.Folder, Is.EqualTo(targetFolder.ID)); |
276 | 276 | ||
277 | Assert.That(scene.GetSceneObjectGroups().Count, Is.EqualTo(2)); | 277 | Assert.That(scene.GetSceneObjectGroups().Count, Is.EqualTo(2)); |
@@ -304,7 +304,7 @@ namespace OpenSim.Region.CoreModules.Avatar.Attachments.Tests | |||
304 | Assert.That(attachmentItem, Is.Not.Null); | 304 | Assert.That(attachmentItem, Is.Not.Null); |
305 | Assert.That(attachmentItem.Name, Is.EqualTo(so2.Name)); | 305 | Assert.That(attachmentItem.Name, Is.EqualTo(so2.Name)); |
306 | 306 | ||
307 | InventoryFolderBase targetFolder = scene.InventoryService.GetFolderForType(sp.UUID, AssetType.Object); | 307 | InventoryFolderBase targetFolder = scene.InventoryService.GetFolderForType(sp.UUID, FolderType.Object); |
308 | Assert.That(attachmentItem.Folder, Is.EqualTo(targetFolder.ID)); | 308 | Assert.That(attachmentItem.Folder, Is.EqualTo(targetFolder.ID)); |
309 | 309 | ||
310 | Assert.That(scene.GetSceneObjectGroups().Count, Is.EqualTo(1)); | 310 | Assert.That(scene.GetSceneObjectGroups().Count, Is.EqualTo(1)); |
@@ -337,7 +337,7 @@ namespace OpenSim.Region.CoreModules.Avatar.Attachments.Tests | |||
337 | Assert.That(attachmentItem, Is.Not.Null); | 337 | Assert.That(attachmentItem, Is.Not.Null); |
338 | Assert.That(attachmentItem.Name, Is.EqualTo(so2.Name)); | 338 | Assert.That(attachmentItem.Name, Is.EqualTo(so2.Name)); |
339 | 339 | ||
340 | InventoryFolderBase targetFolder = scene.InventoryService.GetFolderForType(sp.UUID, AssetType.Object); | 340 | InventoryFolderBase targetFolder = scene.InventoryService.GetFolderForType(sp.UUID, FolderType.Object); |
341 | Assert.That(attachmentItem.Folder, Is.EqualTo(targetFolder.ID)); | 341 | Assert.That(attachmentItem.Folder, Is.EqualTo(targetFolder.ID)); |
342 | 342 | ||
343 | Assert.That(scene.GetSceneObjectGroups().Count, Is.EqualTo(1)); | 343 | Assert.That(scene.GetSceneObjectGroups().Count, Is.EqualTo(1)); |