aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework/Scenes/Tests/SceneObjectUserGroupTests.cs
diff options
context:
space:
mode:
authorJustin Clark-Casey (justincc)2011-08-06 02:17:41 +0100
committerJustin Clark-Casey (justincc)2011-08-06 02:17:41 +0100
commit85e07c78fbed9e85c142c0f565c27015ad95769d (patch)
treefbf8db8ef6c3084343ca83b8901f232755b3fcfc /OpenSim/Region/Framework/Scenes/Tests/SceneObjectUserGroupTests.cs
parentrip out sog generation methods in ScenePresenceAgentTests and use SceneHelper... (diff)
downloadopensim-SC-85e07c78fbed9e85c142c0f565c27015ad95769d.zip
opensim-SC-85e07c78fbed9e85c142c0f565c27015ad95769d.tar.gz
opensim-SC-85e07c78fbed9e85c142c0f565c27015ad95769d.tar.bz2
opensim-SC-85e07c78fbed9e85c142c0f565c27015ad95769d.tar.xz
refactor: Change SceneHelpers.AddClient() to AddScenePresence().
This seems to make more sense as we can get SP.ControllingClient
Diffstat (limited to 'OpenSim/Region/Framework/Scenes/Tests/SceneObjectUserGroupTests.cs')
-rw-r--r--OpenSim/Region/Framework/Scenes/Tests/SceneObjectUserGroupTests.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Region/Framework/Scenes/Tests/SceneObjectUserGroupTests.cs b/OpenSim/Region/Framework/Scenes/Tests/SceneObjectUserGroupTests.cs
index e604885..c13d82e 100644
--- a/OpenSim/Region/Framework/Scenes/Tests/SceneObjectUserGroupTests.cs
+++ b/OpenSim/Region/Framework/Scenes/Tests/SceneObjectUserGroupTests.cs
@@ -75,7 +75,7 @@ namespace OpenSim.Region.Framework.Scenes.Tests
75 new GroupsModule(), 75 new GroupsModule(),
76 new MockGroupsServicesConnector() }); 76 new MockGroupsServicesConnector() });
77 77
78 TestClient client = SceneHelpers.AddClient(scene, userId); 78 IClientAPI client = SceneHelpers.AddScenePresence(scene, userId).ControllingClient;
79 79
80 IGroupsModule groupsModule = scene.RequestModuleInterface<IGroupsModule>(); 80 IGroupsModule groupsModule = scene.RequestModuleInterface<IGroupsModule>();
81 81