diff options
author | Justin Clarke Casey | 2008-12-12 20:43:42 +0000 |
---|---|---|
committer | Justin Clarke Casey | 2008-12-12 20:43:42 +0000 |
commit | b1f018aa2600281cc379128f17c3c141b478f39d (patch) | |
tree | b7830bc43f57acd44e98b02c57d2ac2cc368bd18 /OpenSim/Tests/Common/Mock/TestInventoryDataPlugin.cs | |
parent | * Actually add the new user profile cache tests to the bamboo ci build (diff) | |
download | opensim-SC-b1f018aa2600281cc379128f17c3c141b478f39d.zip opensim-SC-b1f018aa2600281cc379128f17c3c141b478f39d.tar.gz opensim-SC-b1f018aa2600281cc379128f17c3c141b478f39d.tar.bz2 opensim-SC-b1f018aa2600281cc379128f17c3c141b478f39d.tar.xz |
* Create update folder test
* Correct small logic elidation
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Tests/Common/Mock/TestInventoryDataPlugin.cs | 7 |
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) |