aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
-rw-r--r--OpenSim/Region/CoreModules/Avatar/Inventory/Archiver/Tests/InventoryArchiverTests.cs5
1 files changed, 4 insertions, 1 deletions
diff --git a/OpenSim/Region/CoreModules/Avatar/Inventory/Archiver/Tests/InventoryArchiverTests.cs b/OpenSim/Region/CoreModules/Avatar/Inventory/Archiver/Tests/InventoryArchiverTests.cs
index 5eca4e4..bdc2802 100644
--- a/OpenSim/Region/CoreModules/Avatar/Inventory/Archiver/Tests/InventoryArchiverTests.cs
+++ b/OpenSim/Region/CoreModules/Avatar/Inventory/Archiver/Tests/InventoryArchiverTests.cs
@@ -267,7 +267,10 @@ namespace OpenSim.Region.CoreModules.Avatar.Inventory.Archiver.Tests
267 CachedUserInfo userInfo 267 CachedUserInfo userInfo
268 = scene.CommsManager.UserProfileCacheService.GetUserDetails(userFirstName, userLastName); 268 = scene.CommsManager.UserProfileCacheService.GetUserDetails(userFirstName, userLastName);
269 269
270 InventoryItemBase foundItem = userInfo.RootFolder.FindItemByPath(itemName); 270 //InventoryItemBase foundItem = userInfo.RootFolder.FindItemByPath(itemName);
271 InventoryItemBase foundItem
272 = InventoryArchiveUtils.FindItemByPath(
273 scene.InventoryService, scene.InventoryService.GetRootFolder(userInfo.UserProfile.ID), itemName);
271 Assert.That(foundItem, Is.Not.Null, "Didn't find loaded item"); 274 Assert.That(foundItem, Is.Not.Null, "Didn't find loaded item");
272 Assert.That( 275 Assert.That(
273 foundItem.CreatorId, Is.EqualTo(item1.CreatorId), 276 foundItem.CreatorId, Is.EqualTo(item1.CreatorId),