aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim
diff options
context:
space:
mode:
authorDiva Canto2013-07-14 09:22:55 -0700
committerDiva Canto2013-07-14 09:22:55 -0700
commit98f59ffed59d33c3737787bff85a72fde545fc94 (patch)
tree19188b5c3550921c4b3bec0ddf61d1a2999dea48 /OpenSim
parentAuthenticate ChildAgentUpdate too. (diff)
downloadopensim-SC_OLD-98f59ffed59d33c3737787bff85a72fde545fc94.zip
opensim-SC_OLD-98f59ffed59d33c3737787bff85a72fde545fc94.tar.gz
opensim-SC_OLD-98f59ffed59d33c3737787bff85a72fde545fc94.tar.bz2
opensim-SC_OLD-98f59ffed59d33c3737787bff85a72fde545fc94.tar.xz
Fix broken tests -- the test setup was wrong... sigh.
Diffstat (limited to 'OpenSim')
-rw-r--r--OpenSim/Region/Framework/Scenes/Tests/ScenePresenceCrossingTests.cs1
-rw-r--r--OpenSim/Tests/Common/Mock/TestClient.cs2
2 files changed, 2 insertions, 1 deletions
diff --git a/OpenSim/Region/Framework/Scenes/Tests/ScenePresenceCrossingTests.cs b/OpenSim/Region/Framework/Scenes/Tests/ScenePresenceCrossingTests.cs
index 5a72239..5df9aba 100644
--- a/OpenSim/Region/Framework/Scenes/Tests/ScenePresenceCrossingTests.cs
+++ b/OpenSim/Region/Framework/Scenes/Tests/ScenePresenceCrossingTests.cs
@@ -112,6 +112,7 @@ namespace OpenSim.Region.Framework.Scenes.Tests
112 //moveArgs.BodyRotation = Quaternion.CreateFromEulers(Vector3.Zero); 112 //moveArgs.BodyRotation = Quaternion.CreateFromEulers(Vector3.Zero);
113 moveArgs.BodyRotation = Quaternion.CreateFromEulers(new Vector3(0, 0, (float)-(Math.PI / 2))); 113 moveArgs.BodyRotation = Quaternion.CreateFromEulers(new Vector3(0, 0, (float)-(Math.PI / 2)));
114 moveArgs.ControlFlags = (uint)AgentManager.ControlFlags.AGENT_CONTROL_AT_POS; 114 moveArgs.ControlFlags = (uint)AgentManager.ControlFlags.AGENT_CONTROL_AT_POS;
115 moveArgs.SessionID = acd.SessionID;
115 116
116 originalSp.HandleAgentUpdate(originalSp.ControllingClient, moveArgs); 117 originalSp.HandleAgentUpdate(originalSp.ControllingClient, moveArgs);
117 118
diff --git a/OpenSim/Tests/Common/Mock/TestClient.cs b/OpenSim/Tests/Common/Mock/TestClient.cs
index c660501..2fc3f0b 100644
--- a/OpenSim/Tests/Common/Mock/TestClient.cs
+++ b/OpenSim/Tests/Common/Mock/TestClient.cs
@@ -584,7 +584,7 @@ namespace OpenSim.Tests.Common.Mock
584 { 584 {
585 AgentCircuitData agentData = new AgentCircuitData(); 585 AgentCircuitData agentData = new AgentCircuitData();
586 agentData.AgentID = AgentId; 586 agentData.AgentID = AgentId;
587 agentData.SessionID = UUID.Zero; 587 agentData.SessionID = SessionId;
588 agentData.SecureSessionID = UUID.Zero; 588 agentData.SecureSessionID = UUID.Zero;
589 agentData.circuitcode = m_circuitCode; 589 agentData.circuitcode = m_circuitCode;
590 agentData.child = false; 590 agentData.child = false;