mirror of
https://github.com/opensim/opensim.git
synced 2026-08-05 17:05:55 +08:00
* Resolve unit test failure introduced in r9148 (probably)
* Have the test scene always return success for session id authentication for now
This commit is contained in:
@@ -213,7 +213,6 @@ namespace OpenSim.Region.Framework.Scenes
|
||||
PhysicsScene.OnJointDeactivated += jointDeactivated;
|
||||
PhysicsScene.OnJointErrorMessage += jointErrorMessage;
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -46,6 +46,19 @@ namespace OpenSim.Tests.Common.Mock
|
||||
dumpAssetsToFile, physicalPrim, SeeIntoRegionFromNeighbor, config, simulatorVersion)
|
||||
{
|
||||
}
|
||||
|
||||
/// <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
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user