diff options
Diffstat (limited to 'OpenSim')
-rw-r--r-- | OpenSim/Region/CoreModules/Avatar/Inventory/Archiver/Tests/InventoryArchiverTests.cs | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/OpenSim/Region/CoreModules/Avatar/Inventory/Archiver/Tests/InventoryArchiverTests.cs b/OpenSim/Region/CoreModules/Avatar/Inventory/Archiver/Tests/InventoryArchiverTests.cs index a092b65..78faefd 100644 --- a/OpenSim/Region/CoreModules/Avatar/Inventory/Archiver/Tests/InventoryArchiverTests.cs +++ b/OpenSim/Region/CoreModules/Avatar/Inventory/Archiver/Tests/InventoryArchiverTests.cs | |||
@@ -242,6 +242,12 @@ namespace OpenSim.Region.CoreModules.Avatar.Inventory.Archiver.Tests | |||
242 | Assert.That( | 242 | Assert.That( |
243 | foundItem1.CreatorIdAsUuid, Is.EqualTo(m_ua1.PrincipalID), | 243 | foundItem1.CreatorIdAsUuid, Is.EqualTo(m_ua1.PrincipalID), |
244 | "Loaded item uuid creator doesn't match that of the loading user"); | 244 | "Loaded item uuid creator doesn't match that of the loading user"); |
245 | |||
246 | AssetBase asset1 = scene.AssetService.Get(foundItem1.AssetID.ToString()); | ||
247 | string xmlData = Utils.BytesToString(asset1.Data); | ||
248 | SceneObjectGroup sog1 = SceneObjectSerializer.FromOriginalXmlFormat(xmlData); | ||
249 | |||
250 | Assert.That(sog1.RootPart.CreatorID, Is.EqualTo(m_ua1.PrincipalID)); | ||
245 | } | 251 | } |
246 | } | 252 | } |
247 | } \ No newline at end of file | 253 | } \ No newline at end of file |