diff options
author | Justin Clark-Casey (justincc) | 2009-09-06 21:26:27 +0100 |
---|---|---|
committer | Justin Clark-Casey (justincc) | 2009-09-06 21:26:27 +0100 |
commit | a92afe8dcafd55a394c113d67a5b75bac82a6730 (patch) | |
tree | 7b53bec34c7cf05bfa50fd7ae397e0bb8ecc919e /OpenSim/Region/CoreModules | |
parent | remove now unnecessary parts of save iar test (diff) | |
download | opensim-SC_OLD-a92afe8dcafd55a394c113d67a5b75bac82a6730.zip opensim-SC_OLD-a92afe8dcafd55a394c113d67a5b75bac82a6730.tar.gz opensim-SC_OLD-a92afe8dcafd55a394c113d67a5b75bac82a6730.tar.bz2 opensim-SC_OLD-a92afe8dcafd55a394c113d67a5b75bac82a6730.tar.xz |
change load iar test to use non-cache find item by path function
Diffstat (limited to 'OpenSim/Region/CoreModules')
-rw-r--r-- | OpenSim/Region/CoreModules/Avatar/Inventory/Archiver/Tests/InventoryArchiverTests.cs | 5 |
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), |