diff options
author | Justin Clark-Casey (justincc) | 2011-06-04 00:20:54 +0100 |
---|---|---|
committer | Justin Clark-Casey (justincc) | 2011-06-04 00:20:54 +0100 |
commit | 1543fd7fff3b3f3a7ce07caa3ed19846b6587df7 (patch) | |
tree | d878258728d4f92b48c9e7af8827185ab120491f /OpenSim/Region | |
parent | If an llSensor() is in an attachment, make the detection cone face in the dir... (diff) | |
download | opensim-SC_OLD-1543fd7fff3b3f3a7ce07caa3ed19846b6587df7.zip opensim-SC_OLD-1543fd7fff3b3f3a7ce07caa3ed19846b6587df7.tar.gz opensim-SC_OLD-1543fd7fff3b3f3a7ce07caa3ed19846b6587df7.tar.bz2 opensim-SC_OLD-1543fd7fff3b3f3a7ce07caa3ed19846b6587df7.tar.xz |
extend TestGiveInventoryFolder() to check for the receipt by user 2
Diffstat (limited to 'OpenSim/Region')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/Tests/UserInventoryTests.cs | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/OpenSim/Region/Framework/Scenes/Tests/UserInventoryTests.cs b/OpenSim/Region/Framework/Scenes/Tests/UserInventoryTests.cs index 651df3e..c6bd296 100644 --- a/OpenSim/Region/Framework/Scenes/Tests/UserInventoryTests.cs +++ b/OpenSim/Region/Framework/Scenes/Tests/UserInventoryTests.cs | |||
@@ -66,8 +66,10 @@ namespace OpenSim.Region.Framework.Tests | |||
66 | 66 | ||
67 | scene.GiveInventoryFolder(user2.PrincipalID, user1.PrincipalID, folder1.ID, UUID.Zero); | 67 | scene.GiveInventoryFolder(user2.PrincipalID, user1.PrincipalID, folder1.ID, UUID.Zero); |
68 | 68 | ||
69 | // InventoryFolderBase receivedFolder1Template = new InventoryFolderBase( | 69 | InventoryFolderBase retrievedFolder1 |
70 | // InventoryFolderBase receivedFolder1 = scene.InventoryService.GetFolder | 70 | = UserInventoryHelpers.GetInventoryFolder(scene.InventoryService, user2.PrincipalID, "folder1"); |
71 | |||
72 | Assert.That(retrievedFolder1, Is.Not.Null); | ||
71 | } | 73 | } |
72 | } | 74 | } |
73 | } \ No newline at end of file | 75 | } \ No newline at end of file |