diff options
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Tests/Common/Setup/SceneSetupHelpers.cs | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/OpenSim/Tests/Common/Setup/SceneSetupHelpers.cs b/OpenSim/Tests/Common/Setup/SceneSetupHelpers.cs index 5d35e35..d4c2daa 100644 --- a/OpenSim/Tests/Common/Setup/SceneSetupHelpers.cs +++ b/OpenSim/Tests/Common/Setup/SceneSetupHelpers.cs | |||
@@ -38,6 +38,7 @@ using OpenSim.Region.Framework; | |||
38 | using OpenSim.Region.Framework.Interfaces; | 38 | using OpenSim.Region.Framework.Interfaces; |
39 | using OpenSim.Region.Framework.Scenes; | 39 | using OpenSim.Region.Framework.Scenes; |
40 | using OpenSim.Region.CoreModules.Agent.Capabilities; | 40 | using OpenSim.Region.CoreModules.Agent.Capabilities; |
41 | using OpenSim.Region.CoreModules.Avatar.Gods; | ||
41 | using OpenSim.Tests.Common.Mock; | 42 | using OpenSim.Tests.Common.Mock; |
42 | 43 | ||
43 | namespace OpenSim.Tests.Common.Setup | 44 | namespace OpenSim.Tests.Common.Setup |
@@ -82,9 +83,14 @@ namespace OpenSim.Tests.Common.Setup | |||
82 | TestScene testScene = new TestScene( | 83 | TestScene testScene = new TestScene( |
83 | regInfo, acm, cm, scs, sm, null, false, false, false, configSource, null); | 84 | regInfo, acm, cm, scs, sm, null, false, false, false, configSource, null); |
84 | 85 | ||
85 | IRegionModule capsModule = new CapabilitiesModule(); | 86 | IRegionModule capsModule = new CapabilitiesModule(); |
86 | capsModule.Initialise(testScene, new IniConfigSource()); | 87 | capsModule.Initialise(testScene, new IniConfigSource()); |
87 | testScene.AddModule(capsModule.Name, capsModule); | 88 | testScene.AddModule(capsModule.Name, capsModule); |
89 | |||
90 | IRegionModule godsModule = new GodsModule(); | ||
91 | godsModule.Initialise(testScene, new IniConfigSource()); | ||
92 | testScene.AddModule(godsModule.Name, godsModule); | ||
93 | |||
88 | testScene.SetModuleInterfaces(); | 94 | testScene.SetModuleInterfaces(); |
89 | 95 | ||
90 | testScene.LandChannel = new TestLandChannel(); | 96 | testScene.LandChannel = new TestLandChannel(); |