From 04ffcce7ea4fd303cd05e31aa8ece999c17f45b0 Mon Sep 17 00:00:00 2001 From: Justin Clarke Casey Date: Mon, 5 Jan 2009 17:38:39 +0000 Subject: * Extend stub to test the successful login of a user on the local login service * Test does not do authentication --- OpenSim/Tests/Common/Mock/TestCommunicationsManager.cs | 5 ++++- OpenSim/Tests/Common/Mock/TestUserDataPlugin.cs | 5 ++++- 2 files changed, 8 insertions(+), 2 deletions(-) (limited to 'OpenSim/Tests') diff --git a/OpenSim/Tests/Common/Mock/TestCommunicationsManager.cs b/OpenSim/Tests/Common/Mock/TestCommunicationsManager.cs index 472645c..204ebd7 100644 --- a/OpenSim/Tests/Common/Mock/TestCommunicationsManager.cs +++ b/OpenSim/Tests/Common/Mock/TestCommunicationsManager.cs @@ -49,7 +49,10 @@ namespace OpenSim.Tests.Common.Mock LocalUserServices lus = new LocalUserServices(991, 992, lis); m_userService = lus; - m_userAdminService = lus; + m_userAdminService = lus; + + LocalBackEndServices gs = new LocalBackEndServices(); + m_gridService = gs; } } } diff --git a/OpenSim/Tests/Common/Mock/TestUserDataPlugin.cs b/OpenSim/Tests/Common/Mock/TestUserDataPlugin.cs index a5e2a37..6be7b3d 100644 --- a/OpenSim/Tests/Common/Mock/TestUserDataPlugin.cs +++ b/OpenSim/Tests/Common/Mock/TestUserDataPlugin.cs @@ -102,7 +102,10 @@ namespace OpenSim.Tests.Common.Mock public void UpdateUserFriendPerms(UUID friendlistowner, UUID friend, uint perms) {} - public List GetUserFriendList(UUID friendlistowner) { return null; } + public List GetUserFriendList(UUID friendlistowner) + { + return new List(); + } public Dictionary GetFriendRegionInfos(List uuids) { return null; } -- cgit v1.1