aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Tests/Inventory/TestInventory.cs
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Tests/Inventory/TestInventory.cs')
-rw-r--r--OpenSim/Tests/Inventory/TestInventory.cs7
1 files changed, 3 insertions, 4 deletions
diff --git a/OpenSim/Tests/Inventory/TestInventory.cs b/OpenSim/Tests/Inventory/TestInventory.cs
index c1351d9..3083c89 100644
--- a/OpenSim/Tests/Inventory/TestInventory.cs
+++ b/OpenSim/Tests/Inventory/TestInventory.cs
@@ -147,13 +147,12 @@ namespace OpenSim.Test.Inventory
147 Assert.IsNotNull(folders, "Failed to get rootfolders for user"); 147 Assert.IsNotNull(folders, "Failed to get rootfolders for user");
148 148
149 bool foundRoot = false; 149 bool foundRoot = false;
150 foreach(InventoryFolderBase f in folders) { 150 foreach (InventoryFolderBase f in folders)
151 151 {
152 // a root folder has a zero valued LLUUID 152 // a root folder has a zero valued LLUUID
153 Assert.AreEqual(f.parentID, LLUUID.Zero, "non root folder returned"); 153 Assert.AreEqual(f.parentID, LLUUID.Zero, "non root folder returned");
154 154
155 155 if (f.agentID == root.agentID)
156 if(f.agentID == root.agentID)
157 { 156 {
158 // we cannot have two different user specific root folders 157 // we cannot have two different user specific root folders
159 Assert.IsFalse(foundRoot, "Two different user specific root folders returned"); 158 Assert.IsFalse(foundRoot, "Two different user specific root folders returned");