aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Tests/Common
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Tests/Common')
-rw-r--r--OpenSim/Tests/Common/Mock/TestClient.cs7
1 files changed, 5 insertions, 2 deletions
diff --git a/OpenSim/Tests/Common/Mock/TestClient.cs b/OpenSim/Tests/Common/Mock/TestClient.cs
index 6254272..62350b9 100644
--- a/OpenSim/Tests/Common/Mock/TestClient.cs
+++ b/OpenSim/Tests/Common/Mock/TestClient.cs
@@ -33,6 +33,7 @@ using log4net;
33using OpenMetaverse; 33using OpenMetaverse;
34using OpenMetaverse.Packets; 34using OpenMetaverse.Packets;
35using OpenSim.Framework; 35using OpenSim.Framework;
36using OpenSim.Region.Environment.Interfaces;
36using OpenSim.Region.Environment.Scenes; 37using OpenSim.Region.Environment.Scenes;
37 38
38namespace OpenSim.Tests.Common.Mock 39namespace OpenSim.Tests.Common.Mock
@@ -492,8 +493,10 @@ namespace OpenSim.Tests.Common.Mock
492 agentData.child = false; 493 agentData.child = false;
493 agentData.firstname = m_firstName; 494 agentData.firstname = m_firstName;
494 agentData.lastname = m_lastName; 495 agentData.lastname = m_lastName;
495 agentData.CapsPath = m_scene.GetCapsPath(m_agentId); 496
496 agentData.ChildrenCapSeeds = new Dictionary<ulong,string>(m_scene.GetChildrenSeeds(m_agentId)); 497 ICapabilitiesModule capsModule = m_scene.RequestModuleInterface<ICapabilitiesModule>();
498 agentData.CapsPath = capsModule.GetCapsPath(m_agentId);
499 agentData.ChildrenCapSeeds = new Dictionary<ulong,string>(capsModule.GetChildrenSeeds(m_agentId));
497 500
498 return agentData; 501 return agentData;
499 } 502 }