Fix broken tests -- the test setup was wrong... sigh.

cpu-performance
Diva Canto 2013-07-14 09:22:55 -07:00
parent c61ff917ef
commit 98f59ffed5
2 changed files with 2 additions and 1 deletions

View File

@ -112,6 +112,7 @@ namespace OpenSim.Region.Framework.Scenes.Tests
//moveArgs.BodyRotation = Quaternion.CreateFromEulers(Vector3.Zero); //moveArgs.BodyRotation = Quaternion.CreateFromEulers(Vector3.Zero);
moveArgs.BodyRotation = Quaternion.CreateFromEulers(new Vector3(0, 0, (float)-(Math.PI / 2))); moveArgs.BodyRotation = Quaternion.CreateFromEulers(new Vector3(0, 0, (float)-(Math.PI / 2)));
moveArgs.ControlFlags = (uint)AgentManager.ControlFlags.AGENT_CONTROL_AT_POS; moveArgs.ControlFlags = (uint)AgentManager.ControlFlags.AGENT_CONTROL_AT_POS;
moveArgs.SessionID = acd.SessionID;
originalSp.HandleAgentUpdate(originalSp.ControllingClient, moveArgs); originalSp.HandleAgentUpdate(originalSp.ControllingClient, moveArgs);

View File

@ -584,7 +584,7 @@ namespace OpenSim.Tests.Common.Mock
{ {
AgentCircuitData agentData = new AgentCircuitData(); AgentCircuitData agentData = new AgentCircuitData();
agentData.AgentID = AgentId; agentData.AgentID = AgentId;
agentData.SessionID = UUID.Zero; agentData.SessionID = SessionId;
agentData.SecureSessionID = UUID.Zero; agentData.SecureSessionID = UUID.Zero;
agentData.circuitcode = m_circuitCode; agentData.circuitcode = m_circuitCode;
agentData.child = false; agentData.child = false;