diff options
Diffstat (limited to 'OpenSim/Region/Environment/Scenes/Tests/SceneObjectTests.cs')
-rw-r--r-- | OpenSim/Region/Environment/Scenes/Tests/SceneObjectTests.cs | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/OpenSim/Region/Environment/Scenes/Tests/SceneObjectTests.cs b/OpenSim/Region/Environment/Scenes/Tests/SceneObjectTests.cs index 216dce5..7f6fa3c 100644 --- a/OpenSim/Region/Environment/Scenes/Tests/SceneObjectTests.cs +++ b/OpenSim/Region/Environment/Scenes/Tests/SceneObjectTests.cs | |||
@@ -102,9 +102,11 @@ namespace OpenSim.Region.Environment.Scenes.Tests | |||
102 | SceneObjectPart part = SceneTestUtils.AddSceneObject(scene); | 102 | SceneObjectPart part = SceneTestUtils.AddSceneObject(scene); |
103 | 103 | ||
104 | ((LocalUserServices)scene.CommsManager.UserService).AddPlugin(new TestUserDataPlugin()); | 104 | ((LocalUserServices)scene.CommsManager.UserService).AddPlugin(new TestUserDataPlugin()); |
105 | // Assert.That( | 105 | ((LocalInventoryService)scene.CommsManager.InventoryService).AddPlugin(new TestInventoryDataPlugin()); |
106 | // scene.CommsManager.AddUser("Bob", "Hoskins", "test", "test@test.com", 1000, 1000, agentId), | 106 | |
107 | // Is.EqualTo(agentId)); | 107 | Assert.That( |
108 | scene.CommsManager.AddUser("Bob", "Hoskins", "test", "test@test.com", 1000, 1000, agentId), | ||
109 | Is.EqualTo(agentId)); | ||
108 | 110 | ||
109 | IClientAPI client = SceneTestUtils.AddRootAgent(scene, agentId); | 111 | IClientAPI client = SceneTestUtils.AddRootAgent(scene, agentId); |
110 | scene.DeRezObject(client, part.LocalId, UUID.Zero, 9, UUID.Zero); | 112 | scene.DeRezObject(client, part.LocalId, UUID.Zero, 9, UUID.Zero); |
@@ -116,8 +118,8 @@ namespace OpenSim.Region.Environment.Scenes.Tests | |||
116 | SceneObjectPart retrievedPart2 = scene.GetSceneObjectPart(part.LocalId); | 118 | SceneObjectPart retrievedPart2 = scene.GetSceneObjectPart(part.LocalId); |
117 | Assert.That(retrievedPart2, Is.Null); | 119 | Assert.That(retrievedPart2, Is.Null); |
118 | 120 | ||
119 | // CachedUserInfo userInfo = scene.CommsManager.UserProfileCacheService.GetUserDetails(agentId); | 121 | CachedUserInfo userInfo = scene.CommsManager.UserProfileCacheService.GetUserDetails(agentId); |
120 | // Assert.That(userInfo, Is.Not.Null); | 122 | Assert.That(userInfo, Is.Not.Null); |
121 | 123 | ||
122 | // TODO: test that the object actually made it successfully into inventory | 124 | // TODO: test that the object actually made it successfully into inventory |
123 | } | 125 | } |