aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Tests
diff options
context:
space:
mode:
authorJustin Clarke Casey2008-12-12 20:43:42 +0000
committerJustin Clarke Casey2008-12-12 20:43:42 +0000
commitb1f018aa2600281cc379128f17c3c141b478f39d (patch)
treeb7830bc43f57acd44e98b02c57d2ac2cc368bd18 /OpenSim/Tests
parent* Actually add the new user profile cache tests to the bamboo ci build (diff)
downloadopensim-SC_OLD-b1f018aa2600281cc379128f17c3c141b478f39d.zip
opensim-SC_OLD-b1f018aa2600281cc379128f17c3c141b478f39d.tar.gz
opensim-SC_OLD-b1f018aa2600281cc379128f17c3c141b478f39d.tar.bz2
opensim-SC_OLD-b1f018aa2600281cc379128f17c3c141b478f39d.tar.xz
* Create update folder test
* Correct small logic elidation
Diffstat (limited to 'OpenSim/Tests')
-rw-r--r--OpenSim/Tests/Common/Mock/TestInventoryDataPlugin.cs7
1 files changed, 5 insertions, 2 deletions
diff --git a/OpenSim/Tests/Common/Mock/TestInventoryDataPlugin.cs b/OpenSim/Tests/Common/Mock/TestInventoryDataPlugin.cs
index 808c212..8e19aec 100644
--- a/OpenSim/Tests/Common/Mock/TestInventoryDataPlugin.cs
+++ b/OpenSim/Tests/Common/Mock/TestInventoryDataPlugin.cs
@@ -122,12 +122,15 @@ namespace OpenSim.Tests.Common.Mock
122 m_rootFolders[folder.Owner] = folder; 122 m_rootFolders[folder.Owner] = folder;
123 } 123 }
124 124
125 public void updateInventoryFolder(InventoryFolderBase folder) {} 125 public void updateInventoryFolder(InventoryFolderBase folder)
126 {
127 m_folders[folder.ID] = folder;
128 }
126 129
127 public void moveInventoryFolder(InventoryFolderBase folder) 130 public void moveInventoryFolder(InventoryFolderBase folder)
128 { 131 {
129 // Simple replace 132 // Simple replace
130 m_folders[folder.ID] = folder; 133 updateInventoryFolder(folder);
131 } 134 }
132 135
133 public void deleteInventoryFolder(UUID folderId) 136 public void deleteInventoryFolder(UUID folderId)