Simplify regression TestInterRegionChatDistanceEastWest() by making the child presence connection directly rather than routing through TestClient.

This code isn't relevant to this test and is already exercised by other tests.
This commit is contained in:
Justin Clark-Casey (justincc)
2014-05-22 19:47:33 +01:00
parent 1b156b7fe8
commit 65a135f4d3
2 changed files with 11 additions and 8 deletions

View File

@@ -574,7 +574,11 @@ namespace OpenSim.Tests.Common
public static ScenePresence AddChildScenePresence(Scene scene, UUID agentId)
{
AgentCircuitData acd = GenerateAgentData(agentId);
return AddChildScenePresence(scene, GenerateAgentData(agentId));
}
public static ScenePresence AddChildScenePresence(Scene scene, AgentCircuitData acd)
{
acd.child = true;
// XXX: ViaLogin may not be correct for child agents