From a92afe8dcafd55a394c113d67a5b75bac82a6730 Mon Sep 17 00:00:00 2001 From: "Justin Clark-Casey (justincc)" Date: Sun, 6 Sep 2009 21:26:27 +0100 Subject: [PATCH] change load iar test to use non-cache find item by path function --- .../Inventory/Archiver/Tests/InventoryArchiverTests.cs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/OpenSim/Region/CoreModules/Avatar/Inventory/Archiver/Tests/InventoryArchiverTests.cs b/OpenSim/Region/CoreModules/Avatar/Inventory/Archiver/Tests/InventoryArchiverTests.cs index 5eca4e494f..bdc2802d4c 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 CachedUserInfo userInfo = scene.CommsManager.UserProfileCacheService.GetUserDetails(userFirstName, userLastName); - InventoryItemBase foundItem = userInfo.RootFolder.FindItemByPath(itemName); + //InventoryItemBase foundItem = userInfo.RootFolder.FindItemByPath(itemName); + InventoryItemBase foundItem + = InventoryArchiveUtils.FindItemByPath( + scene.InventoryService, scene.InventoryService.GetRootFolder(userInfo.UserProfile.ID), itemName); Assert.That(foundItem, Is.Not.Null, "Didn't find loaded item"); Assert.That( foundItem.CreatorId, Is.EqualTo(item1.CreatorId),