diff options
Diffstat (limited to 'OpenSim/Region')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/Tests/UserInventoryTests.cs | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/OpenSim/Region/Framework/Scenes/Tests/UserInventoryTests.cs b/OpenSim/Region/Framework/Scenes/Tests/UserInventoryTests.cs index 10c275e..abca792 100644 --- a/OpenSim/Region/Framework/Scenes/Tests/UserInventoryTests.cs +++ b/OpenSim/Region/Framework/Scenes/Tests/UserInventoryTests.cs | |||
@@ -97,6 +97,14 @@ namespace OpenSim.Region.Framework.Tests | |||
97 | = UserInventoryHelpers.GetInventoryFolder(scene.InventoryService, user2.PrincipalID, "folder1"); | 97 | = UserInventoryHelpers.GetInventoryFolder(scene.InventoryService, user2.PrincipalID, "folder1"); |
98 | 98 | ||
99 | Assert.That(retrievedFolder1, Is.Not.Null); | 99 | Assert.That(retrievedFolder1, Is.Not.Null); |
100 | |||
101 | // Try giving back the freshly received folder | ||
102 | scene.GiveInventoryFolder(user1.PrincipalID, user2.PrincipalID, retrievedFolder1.ID, UUID.Zero); | ||
103 | |||
104 | List<InventoryFolderBase> reretrievedFolders | ||
105 | = UserInventoryHelpers.GetInventoryFolders(scene.InventoryService, user1.PrincipalID, "folder1"); | ||
106 | |||
107 | Assert.That(reretrievedFolders.Count, Is.EqualTo(2)); | ||
100 | } | 108 | } |
101 | } | 109 | } |
102 | } \ No newline at end of file | 110 | } \ No newline at end of file |