diff options
Diffstat (limited to 'OpenSim/Tests/Common/Mock/MockInventoryService.cs')
-rw-r--r-- | OpenSim/Tests/Common/Mock/MockInventoryService.cs | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/OpenSim/Tests/Common/Mock/MockInventoryService.cs b/OpenSim/Tests/Common/Mock/MockInventoryService.cs index 1ea4bc1..4ac1078 100644 --- a/OpenSim/Tests/Common/Mock/MockInventoryService.cs +++ b/OpenSim/Tests/Common/Mock/MockInventoryService.cs | |||
@@ -37,13 +37,9 @@ namespace OpenSim.Tests.Common.Mock | |||
37 | { | 37 | { |
38 | public class MockInventoryService : IInventoryService | 38 | public class MockInventoryService : IInventoryService |
39 | { | 39 | { |
40 | public MockInventoryService() | 40 | public MockInventoryService() {} |
41 | { | ||
42 | } | ||
43 | 41 | ||
44 | public MockInventoryService(IConfigSource config) | 42 | public MockInventoryService(IConfigSource config) {} |
45 | { | ||
46 | } | ||
47 | 43 | ||
48 | /// <summary> | 44 | /// <summary> |
49 | /// <see cref="OpenSim.Framework.Communications.IInterServiceInventoryServices"/> | 45 | /// <see cref="OpenSim.Framework.Communications.IInterServiceInventoryServices"/> |
@@ -140,7 +136,7 @@ namespace OpenSim.Tests.Common.Mock | |||
140 | 136 | ||
141 | public bool AddItem(InventoryItemBase item) | 137 | public bool AddItem(InventoryItemBase item) |
142 | { | 138 | { |
143 | return false; | 139 | return true; |
144 | } | 140 | } |
145 | 141 | ||
146 | public bool UpdateItem(InventoryItemBase item) | 142 | public bool UpdateItem(InventoryItemBase item) |
@@ -187,4 +183,4 @@ namespace OpenSim.Tests.Common.Mock | |||
187 | return 1; | 183 | return 1; |
188 | } | 184 | } |
189 | } | 185 | } |
190 | } | 186 | } \ No newline at end of file |