aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Environment/Scenes/Tests/StandaloneTeleportTests.cs
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region/Environment/Scenes/Tests/StandaloneTeleportTests.cs')
-rw-r--r--OpenSim/Region/Environment/Scenes/Tests/StandaloneTeleportTests.cs12
1 files changed, 3 insertions, 9 deletions
diff --git a/OpenSim/Region/Environment/Scenes/Tests/StandaloneTeleportTests.cs b/OpenSim/Region/Environment/Scenes/Tests/StandaloneTeleportTests.cs
index f1ad508..0c7de74 100644
--- a/OpenSim/Region/Environment/Scenes/Tests/StandaloneTeleportTests.cs
+++ b/OpenSim/Region/Environment/Scenes/Tests/StandaloneTeleportTests.cs
@@ -61,18 +61,12 @@ namespace OpenSim.Region.Environment.Scenes.Tests
61 // shared module 61 // shared module
62 IRegionModule interregionComms = new RESTInterregionComms(); 62 IRegionModule interregionComms = new RESTInterregionComms();
63 63
64 // TODO: Clean this up 64 Scene sceneA = SceneSetupHelpers.SetupScene("sceneA", sceneAId, 1000, 1000, cm);
65 Scene sceneA = SceneSetupHelpers.SetupScene("sceneA", sceneAId, 1000, 1000, cm); 65 SceneSetupHelpers.SetupSceneModules(sceneA, new IniConfigSource(), interregionComms);
66 interregionComms.Initialise(sceneA, new IniConfigSource());
67 sceneA.AddModule(interregionComms.Name, interregionComms);
68 sceneA.SetModuleInterfaces();
69 sceneA.RegisterRegionWithGrid(); 66 sceneA.RegisterRegionWithGrid();
70 67
71 // TODO: Clean this up
72 Scene sceneB = SceneSetupHelpers.SetupScene("sceneB", sceneBId, 1010, 1010, cm); 68 Scene sceneB = SceneSetupHelpers.SetupScene("sceneB", sceneBId, 1010, 1010, cm);
73 interregionComms.Initialise(sceneB, new IniConfigSource()); 69 SceneSetupHelpers.SetupSceneModules(sceneB, new IniConfigSource(), interregionComms);
74 sceneB.AddModule(interregionComms.Name, interregionComms);
75 sceneB.SetModuleInterfaces();
76 sceneB.RegisterRegionWithGrid(); 70 sceneB.RegisterRegionWithGrid();
77 71
78 UUID agentId = UUID.Parse("00000000-0000-0000-0000-000000000041"); 72 UUID agentId = UUID.Parse("00000000-0000-0000-0000-000000000041");