aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Tests/Permissions/IndirectTransferTests.cs
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Tests/Permissions/IndirectTransferTests.cs')
-rw-r--r--OpenSim/Tests/Permissions/IndirectTransferTests.cs16
1 files changed, 1 insertions, 15 deletions
diff --git a/OpenSim/Tests/Permissions/IndirectTransferTests.cs b/OpenSim/Tests/Permissions/IndirectTransferTests.cs
index 6a6ba2f..7d8027f 100644
--- a/OpenSim/Tests/Permissions/IndirectTransferTests.cs
+++ b/OpenSim/Tests/Permissions/IndirectTransferTests.cs
@@ -46,21 +46,7 @@ namespace OpenSim.Tests.Permissions
46 [SetUp] 46 [SetUp]
47 public void SetUp() 47 public void SetUp()
48 { 48 {
49 // Delete everything in A2 and A3's Objects folders from previous tests 49 Common.TheInstance.DeleteObjectsFolders();
50 for (int i = 1; i < 3; i++)
51 {
52 InventoryFolderBase objsFolder = UserInventoryHelpers.GetInventoryFolder(Common.TheScene.InventoryService, Common.TheAvatars[i].UUID, "Objects");
53 Assert.That(objsFolder, Is.Not.Null);
54
55 List<InventoryItemBase> items = Common.TheScene.InventoryService.GetFolderItems(Common.TheAvatars[i].UUID, objsFolder.ID);
56 List<UUID> ids = new List<UUID>();
57 foreach (InventoryItemBase it in items)
58 ids.Add(it.ID);
59
60 Common.TheScene.InventoryService.DeleteItems(Common.TheAvatars[i].UUID, ids);
61 items = Common.TheScene.InventoryService.GetFolderItems(Common.TheAvatars[i].UUID, objsFolder.ID);
62 Assert.That(items.Count, Is.EqualTo(0), "A" + (i+1));
63 }
64 } 50 }
65 51
66 /// <summary> 52 /// <summary>