* Resolve unit test failure introduced in r9148 (probably)

* Have the test scene always return success for session id authentication for now
0.6.5-rc1
Justin Clarke Casey 2009-04-15 17:40:04 +00:00
parent 119aeeed7d
commit fa9b9126ee
2 changed files with 13 additions and 1 deletions

View File

@ -213,7 +213,6 @@ namespace OpenSim.Region.Framework.Scenes
PhysicsScene.OnJointDeactivated += jointDeactivated;
PhysicsScene.OnJointErrorMessage += jointErrorMessage;
}
}
}

View File

@ -47,6 +47,19 @@ namespace OpenSim.Tests.Common.Mock
{
}
/// <summary>
/// Temporarily override session authentication for tests (namely teleport).
/// </summary>
///
/// TODO: This needs to be mocked out properly.
///
/// <param name="agent"></param>
/// <returns></returns>
public override bool AuthenticateUser(AgentCircuitData agent)
{
return true;
}
public AsyncSceneObjectGroupDeleter SceneObjectGroupDeleter
{
get { return m_asyncSceneObjectDeleter; }