diff options
Diffstat (limited to 'OpenSim/Tests/Common/Helpers')
-rw-r--r-- | OpenSim/Tests/Common/Helpers/EntityTransferHelpers.cs | 4 | ||||
-rw-r--r-- | OpenSim/Tests/Common/Helpers/SceneHelpers.cs | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/OpenSim/Tests/Common/Helpers/EntityTransferHelpers.cs b/OpenSim/Tests/Common/Helpers/EntityTransferHelpers.cs index ff6608d..52a17e7 100644 --- a/OpenSim/Tests/Common/Helpers/EntityTransferHelpers.cs +++ b/OpenSim/Tests/Common/Helpers/EntityTransferHelpers.cs | |||
@@ -84,7 +84,7 @@ namespace OpenSim.Tests.Common | |||
84 | 84 | ||
85 | TestClient neighbourTc = new TestClient(newAgent, neighbourScene); | 85 | TestClient neighbourTc = new TestClient(newAgent, neighbourScene); |
86 | neighbourTcs.Add(neighbourTc); | 86 | neighbourTcs.Add(neighbourTc); |
87 | neighbourScene.AddNewClient(neighbourTc, PresenceType.User); | 87 | neighbourScene.AddNewAgent(neighbourTc, PresenceType.User); |
88 | }; | 88 | }; |
89 | } | 89 | } |
90 | 90 | ||
@@ -119,7 +119,7 @@ namespace OpenSim.Tests.Common | |||
119 | 119 | ||
120 | TestClient destinationClient = new TestClient(newAgent, destinationScene); | 120 | TestClient destinationClient = new TestClient(newAgent, destinationScene); |
121 | destinationClients.Add(destinationClient); | 121 | destinationClients.Add(destinationClient); |
122 | destinationScene.AddNewClient(destinationClient, PresenceType.User); | 122 | destinationScene.AddNewAgent(destinationClient, PresenceType.User); |
123 | 123 | ||
124 | ThreadPool.UnsafeQueueUserWorkItem(o => destinationClient.CompleteMovement(), null); | 124 | ThreadPool.UnsafeQueueUserWorkItem(o => destinationClient.CompleteMovement(), null); |
125 | }; | 125 | }; |
diff --git a/OpenSim/Tests/Common/Helpers/SceneHelpers.cs b/OpenSim/Tests/Common/Helpers/SceneHelpers.cs index d9bb85e..4cdfe98 100644 --- a/OpenSim/Tests/Common/Helpers/SceneHelpers.cs +++ b/OpenSim/Tests/Common/Helpers/SceneHelpers.cs | |||
@@ -548,7 +548,7 @@ namespace OpenSim.Tests.Common | |||
548 | Console.WriteLine("NewUserConnection failed: " + reason); | 548 | Console.WriteLine("NewUserConnection failed: " + reason); |
549 | 549 | ||
550 | // Stage 2: add the new client as a child agent to the scene | 550 | // Stage 2: add the new client as a child agent to the scene |
551 | scene.AddNewClient(client, PresenceType.User); | 551 | scene.AddNewAgent(client, PresenceType.User); |
552 | 552 | ||
553 | return scene.GetScenePresence(client.AgentId); | 553 | return scene.GetScenePresence(client.AgentId); |
554 | } | 554 | } |