diff options
Diffstat (limited to 'OpenSim/Tests')
-rw-r--r-- | OpenSim/Tests/Common/Setup/SceneSetupHelpers.cs | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/OpenSim/Tests/Common/Setup/SceneSetupHelpers.cs b/OpenSim/Tests/Common/Setup/SceneSetupHelpers.cs index ea4f0af..8527886 100644 --- a/OpenSim/Tests/Common/Setup/SceneSetupHelpers.cs +++ b/OpenSim/Tests/Common/Setup/SceneSetupHelpers.cs | |||
@@ -245,9 +245,11 @@ namespace OpenSim.Tests.Common.Setup | |||
245 | /// <returns></returns> | 245 | /// <returns></returns> |
246 | public static TestClient AddRootAgent(Scene scene, AgentCircuitData agentData) | 246 | public static TestClient AddRootAgent(Scene scene, AgentCircuitData agentData) |
247 | { | 247 | { |
248 | string reason; | ||
249 | |||
248 | // We emulate the proper login sequence here by doing things in three stages | 250 | // We emulate the proper login sequence here by doing things in three stages |
249 | // Stage 1: simulate login by telling the scene to expect a new user connection | 251 | // Stage 1: simulate login by telling the scene to expect a new user connection |
250 | scene.NewUserConnection(agentData); | 252 | scene.NewUserConnection(agentData, out reason); |
251 | 253 | ||
252 | // Stage 2: add the new client as a child agent to the scene | 254 | // Stage 2: add the new client as a child agent to the scene |
253 | TestClient client = new TestClient(agentData, scene); | 255 | TestClient client = new TestClient(agentData, scene); |