diff options
Diffstat (limited to 'OpenSim/Capabilities/Handlers')
-rw-r--r-- | OpenSim/Capabilities/Handlers/FetchInventory/Tests/FetchInventory2HandlerTests.cs | 4 | ||||
-rw-r--r-- | OpenSim/Capabilities/Handlers/FetchInventory/Tests/FetchInventoryDescendents2HandlerTests.cs | 6 |
2 files changed, 5 insertions, 5 deletions
diff --git a/OpenSim/Capabilities/Handlers/FetchInventory/Tests/FetchInventory2HandlerTests.cs b/OpenSim/Capabilities/Handlers/FetchInventory/Tests/FetchInventory2HandlerTests.cs index 653e791..8af3c64 100644 --- a/OpenSim/Capabilities/Handlers/FetchInventory/Tests/FetchInventory2HandlerTests.cs +++ b/OpenSim/Capabilities/Handlers/FetchInventory/Tests/FetchInventory2HandlerTests.cs | |||
@@ -75,7 +75,7 @@ namespace OpenSim.Capabilities.Handlers.FetchInventory.Tests | |||
75 | 75 | ||
76 | m_rootFolderID = m_scene.InventoryService.GetRootFolder(m_userID).ID; | 76 | m_rootFolderID = m_scene.InventoryService.GetRootFolder(m_userID).ID; |
77 | 77 | ||
78 | InventoryFolderBase of = m_scene.InventoryService.GetFolderForType(m_userID, AssetType.Object); | 78 | InventoryFolderBase of = m_scene.InventoryService.GetFolderForType(m_userID, FolderType.Object); |
79 | m_objectsFolder = of.ID; | 79 | m_objectsFolder = of.ID; |
80 | 80 | ||
81 | // Add 3 objects | 81 | // Add 3 objects |
@@ -90,7 +90,7 @@ namespace OpenSim.Capabilities.Handlers.FetchInventory.Tests | |||
90 | m_scene.InventoryService.AddItem(item); | 90 | m_scene.InventoryService.AddItem(item); |
91 | } | 91 | } |
92 | 92 | ||
93 | InventoryFolderBase ncf = m_scene.InventoryService.GetFolderForType(m_userID, AssetType.Notecard); | 93 | InventoryFolderBase ncf = m_scene.InventoryService.GetFolderForType(m_userID, FolderType.Notecard); |
94 | m_notecardsFolder = ncf.ID; | 94 | m_notecardsFolder = ncf.ID; |
95 | 95 | ||
96 | // Add 5 notecards | 96 | // Add 5 notecards |
diff --git a/OpenSim/Capabilities/Handlers/FetchInventory/Tests/FetchInventoryDescendents2HandlerTests.cs b/OpenSim/Capabilities/Handlers/FetchInventory/Tests/FetchInventoryDescendents2HandlerTests.cs index 0b66835..2d5531a 100644 --- a/OpenSim/Capabilities/Handlers/FetchInventory/Tests/FetchInventoryDescendents2HandlerTests.cs +++ b/OpenSim/Capabilities/Handlers/FetchInventory/Tests/FetchInventoryDescendents2HandlerTests.cs | |||
@@ -74,7 +74,7 @@ namespace OpenSim.Capabilities.Handlers.FetchInventory.Tests | |||
74 | 74 | ||
75 | m_rootFolderID = m_scene.InventoryService.GetRootFolder(m_userID).ID; | 75 | m_rootFolderID = m_scene.InventoryService.GetRootFolder(m_userID).ID; |
76 | 76 | ||
77 | InventoryFolderBase of = m_scene.InventoryService.GetFolderForType(m_userID, AssetType.Object); | 77 | InventoryFolderBase of = m_scene.InventoryService.GetFolderForType(m_userID, FolderType.Object); |
78 | m_objectsFolder = of.ID; | 78 | m_objectsFolder = of.ID; |
79 | 79 | ||
80 | // Add an object | 80 | // Add an object |
@@ -85,7 +85,7 @@ namespace OpenSim.Capabilities.Handlers.FetchInventory.Tests | |||
85 | item.Name = "Some Object"; | 85 | item.Name = "Some Object"; |
86 | m_scene.InventoryService.AddItem(item); | 86 | m_scene.InventoryService.AddItem(item); |
87 | 87 | ||
88 | InventoryFolderBase ncf = m_scene.InventoryService.GetFolderForType(m_userID, AssetType.Notecard); | 88 | InventoryFolderBase ncf = m_scene.InventoryService.GetFolderForType(m_userID, FolderType.Notecard); |
89 | m_notecardsFolder = ncf.ID; | 89 | m_notecardsFolder = ncf.ID; |
90 | 90 | ||
91 | // Add a notecard | 91 | // Add a notecard |
@@ -114,7 +114,7 @@ namespace OpenSim.Capabilities.Handlers.FetchInventory.Tests | |||
114 | m_scene.InventoryService.AddItem(item); | 114 | m_scene.InventoryService.AddItem(item); |
115 | 115 | ||
116 | // Add a link to the Objects folder in Test Folder | 116 | // Add a link to the Objects folder in Test Folder |
117 | item.AssetID = m_scene.InventoryService.GetFolderForType(m_userID, AssetType.Object).ID; // use item ID of Objects folder | 117 | item.AssetID = m_scene.InventoryService.GetFolderForType(m_userID, FolderType.Object).ID; // use item ID of Objects folder |
118 | item.ID = new UUID("50000000-0000-0000-0000-000000000005"); | 118 | item.ID = new UUID("50000000-0000-0000-0000-000000000005"); |
119 | item.AssetType = (int)AssetType.LinkFolder; | 119 | item.AssetType = (int)AssetType.LinkFolder; |
120 | item.Folder = folder.ID; | 120 | item.Folder = folder.ID; |