diff options
author | John Hurliman | 2010-09-12 14:21:51 -0700 |
---|---|---|
committer | John Hurliman | 2010-09-12 14:21:51 -0700 |
commit | c03b24cbfdc449cf326cf0f560395753339169dc (patch) | |
tree | d62a666839d3c638b5c9799c70be971a2d6d6c18 /OpenSim/Tests/Common/Setup/UserInventoryTestUtils.cs | |
parent | * Added ISimulationDataService and IEstateDataService (diff) | |
parent | Formatting cleanup. (diff) | |
download | opensim-SC-c03b24cbfdc449cf326cf0f560395753339169dc.zip opensim-SC-c03b24cbfdc449cf326cf0f560395753339169dc.tar.gz opensim-SC-c03b24cbfdc449cf326cf0f560395753339169dc.tar.bz2 opensim-SC-c03b24cbfdc449cf326cf0f560395753339169dc.tar.xz |
Merged
Diffstat (limited to 'OpenSim/Tests/Common/Setup/UserInventoryTestUtils.cs')
-rw-r--r-- | OpenSim/Tests/Common/Setup/UserInventoryTestUtils.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Tests/Common/Setup/UserInventoryTestUtils.cs b/OpenSim/Tests/Common/Setup/UserInventoryTestUtils.cs index 915af7e..135c50e 100644 --- a/OpenSim/Tests/Common/Setup/UserInventoryTestUtils.cs +++ b/OpenSim/Tests/Common/Setup/UserInventoryTestUtils.cs | |||
@@ -42,7 +42,7 @@ namespace OpenSim.Tests.Common | |||
42 | 42 | ||
43 | public static InventoryItemBase CreateInventoryItem( | 43 | public static InventoryItemBase CreateInventoryItem( |
44 | Scene scene, string itemName, UUID itemId, string folderPath, UUID userId) | 44 | Scene scene, string itemName, UUID itemId, string folderPath, UUID userId) |
45 | { | 45 | { |
46 | InventoryItemBase item = new InventoryItemBase(); | 46 | InventoryItemBase item = new InventoryItemBase(); |
47 | item.Name = itemName; | 47 | item.Name = itemName; |
48 | item.AssetID = AssetHelpers.CreateAsset(scene, userId).FullID; | 48 | item.AssetID = AssetHelpers.CreateAsset(scene, userId).FullID; |
@@ -52,7 +52,7 @@ namespace OpenSim.Tests.Common | |||
52 | InventoryFolderBase objsFolder = scene.InventoryService.GetFolderForType(userId, AssetType.Object); | 52 | InventoryFolderBase objsFolder = scene.InventoryService.GetFolderForType(userId, AssetType.Object); |
53 | 53 | ||
54 | item.Folder = objsFolder.ID; | 54 | item.Folder = objsFolder.ID; |
55 | scene.AddInventoryItem(item); | 55 | scene.AddInventoryItem(item); |
56 | 56 | ||
57 | return item; | 57 | return item; |
58 | } | 58 | } |