diff options
Diffstat (limited to 'OpenSim/Tests')
-rw-r--r-- | OpenSim/Tests/Common/Setup/SceneSetupHelpers.cs | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/OpenSim/Tests/Common/Setup/SceneSetupHelpers.cs b/OpenSim/Tests/Common/Setup/SceneSetupHelpers.cs index 413a2b9..6de5a02 100644 --- a/OpenSim/Tests/Common/Setup/SceneSetupHelpers.cs +++ b/OpenSim/Tests/Common/Setup/SceneSetupHelpers.cs | |||
@@ -117,9 +117,10 @@ namespace OpenSim.Tests.Common.Setup | |||
117 | TestScene testScene = new TestScene( | 117 | TestScene testScene = new TestScene( |
118 | regInfo, acm, cm, scs, sm, null, false, false, false, configSource, null); | 118 | regInfo, acm, cm, scs, sm, null, false, false, false, configSource, null); |
119 | 119 | ||
120 | IRegionModule capsModule = new CapabilitiesModule(); | 120 | INonSharedRegionModule capsModule = new CapabilitiesModule(); |
121 | capsModule.Initialise(testScene, new IniConfigSource()); | 121 | capsModule.Initialise(new IniConfigSource()); |
122 | testScene.AddModule(capsModule.Name, capsModule); | 122 | testScene.AddRegionModule(capsModule.Name, capsModule); |
123 | capsModule.AddRegion(testScene); | ||
123 | 124 | ||
124 | IRegionModule godsModule = new GodsModule(); | 125 | IRegionModule godsModule = new GodsModule(); |
125 | godsModule.Initialise(testScene, new IniConfigSource()); | 126 | godsModule.Initialise(testScene, new IniConfigSource()); |