diff options
Diffstat (limited to 'OpenSim/Tests/Common')
-rw-r--r-- | OpenSim/Tests/Common/Helpers/UserInventoryHelpers.cs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/OpenSim/Tests/Common/Helpers/UserInventoryHelpers.cs b/OpenSim/Tests/Common/Helpers/UserInventoryHelpers.cs index 4e60ca9..ceb7905 100644 --- a/OpenSim/Tests/Common/Helpers/UserInventoryHelpers.cs +++ b/OpenSim/Tests/Common/Helpers/UserInventoryHelpers.cs | |||
@@ -88,8 +88,7 @@ namespace OpenSim.Tests.Common | |||
88 | if (type == InventoryType.Notecard) | 88 | if (type == InventoryType.Notecard) |
89 | asset = AssetHelpers.CreateAsset(scene, userId); | 89 | asset = AssetHelpers.CreateAsset(scene, userId); |
90 | else if (type == InventoryType.Object) | 90 | else if (type == InventoryType.Object) |
91 | asset | 91 | asset = AssetHelpers.CreateAsset(assetId, SceneHelpers.CreateSceneObject(1, userId)); |
92 | = AssetHelpers.CreateAsset(assetId, SceneHelpers.CreateSceneObject(1, userId)); | ||
93 | else | 92 | else |
94 | throw new Exception(string.Format("Inventory type {0} not supported", type)); | 93 | throw new Exception(string.Format("Inventory type {0} not supported", type)); |
95 | 94 | ||