From fa9b9126ee85fd1124634dae41c8ac58ba4fe70f Mon Sep 17 00:00:00 2001
From: Justin Clarke Casey
Date: Wed, 15 Apr 2009 17:40:04 +0000
Subject: * Resolve unit test failure introduced in r9148 (probably) * Have the
test scene always return success for session id authentication for now
---
OpenSim/Tests/Common/Mock/TestScene.cs | 13 +++++++++++++
1 file changed, 13 insertions(+)
(limited to 'OpenSim/Tests/Common')
diff --git a/OpenSim/Tests/Common/Mock/TestScene.cs b/OpenSim/Tests/Common/Mock/TestScene.cs
index 12cce9d..0be98a2 100644
--- a/OpenSim/Tests/Common/Mock/TestScene.cs
+++ b/OpenSim/Tests/Common/Mock/TestScene.cs
@@ -46,6 +46,19 @@ namespace OpenSim.Tests.Common.Mock
dumpAssetsToFile, physicalPrim, SeeIntoRegionFromNeighbor, config, simulatorVersion)
{
}
+
+ ///
+ /// Temporarily override session authentication for tests (namely teleport).
+ ///
+ ///
+ /// TODO: This needs to be mocked out properly.
+ ///
+ ///
+ ///
+ public override bool AuthenticateUser(AgentCircuitData agent)
+ {
+ return true;
+ }
public AsyncSceneObjectGroupDeleter SceneObjectGroupDeleter
{
--
cgit v1.1