diff options
author | Justin Clarke Casey | 2009-02-12 17:07:44 +0000 |
---|---|---|
committer | Justin Clarke Casey | 2009-02-12 17:07:44 +0000 |
commit | 31ca3a8d4d53fc82a3b4cb62ad4edaebc4111302 (patch) | |
tree | 89a086e5dcdc1cb026b9a9fe2d9d914babaa65a0 /OpenSim/Framework/Communications/Tests/Cache/UserProfileTestUtils.cs | |
parent | * Added XEngine tests and gathered other ScriptEngine (diff) | |
download | opensim-SC-31ca3a8d4d53fc82a3b4cb62ad4edaebc4111302.zip opensim-SC-31ca3a8d4d53fc82a3b4cb62ad4edaebc4111302.tar.gz opensim-SC-31ca3a8d4d53fc82a3b4cb62ad4edaebc4111302.tar.bz2 opensim-SC-31ca3a8d4d53fc82a3b4cb62ad4edaebc4111302.tar.xz |
* refactor: Move RequestInventoryForUser() from service to CachedUserInfo
* This simplifies callers in most cases - CachedUserInfo is already handling the rest of the fetch inventory work anyway
Diffstat (limited to 'OpenSim/Framework/Communications/Tests/Cache/UserProfileTestUtils.cs')
-rw-r--r-- | OpenSim/Framework/Communications/Tests/Cache/UserProfileTestUtils.cs | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/OpenSim/Framework/Communications/Tests/Cache/UserProfileTestUtils.cs b/OpenSim/Framework/Communications/Tests/Cache/UserProfileTestUtils.cs index 85cc940..93ce916 100644 --- a/OpenSim/Framework/Communications/Tests/Cache/UserProfileTestUtils.cs +++ b/OpenSim/Framework/Communications/Tests/Cache/UserProfileTestUtils.cs | |||
@@ -59,9 +59,10 @@ namespace OpenSim.Framework.Communications.Tests | |||
59 | 59 | ||
60 | lus.AddUser("Bill", "Bailey", "troll", "bill@bailey.com", 1000, 1000, userId); | 60 | lus.AddUser("Bill", "Bailey", "troll", "bill@bailey.com", 1000, 1000, userId); |
61 | 61 | ||
62 | commsManager.UserProfileCacheService.RequestInventoryForUser(userId); | 62 | CachedUserInfo userInfo = commsManager.UserProfileCacheService.GetUserDetails(userId); |
63 | userInfo.FetchInventory(); | ||
63 | 64 | ||
64 | return commsManager.UserProfileCacheService.GetUserDetails(userId); | 65 | return userInfo; |
65 | } | 66 | } |
66 | } | 67 | } |
67 | } | 68 | } |