aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework/Communications/Tests/Cache
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Framework/Communications/Tests/Cache')
-rw-r--r--OpenSim/Framework/Communications/Tests/Cache/UserProfileCacheServiceTests.cs2
-rw-r--r--OpenSim/Framework/Communications/Tests/Cache/UserProfileTestUtils.cs5
2 files changed, 4 insertions, 3 deletions
diff --git a/OpenSim/Framework/Communications/Tests/Cache/UserProfileCacheServiceTests.cs b/OpenSim/Framework/Communications/Tests/Cache/UserProfileCacheServiceTests.cs
index cda9d5c..e2576ef 100644
--- a/OpenSim/Framework/Communications/Tests/Cache/UserProfileCacheServiceTests.cs
+++ b/OpenSim/Framework/Communications/Tests/Cache/UserProfileCacheServiceTests.cs
@@ -64,7 +64,7 @@ namespace OpenSim.Framework.Communications.Tests
64 /// Test requesting inventory for a user 64 /// Test requesting inventory for a user
65 /// </summary> 65 /// </summary>
66 [Test] 66 [Test]
67 public void TestRequestInventoryForUser() 67 public void TestFetchInventory()
68 { 68 {
69 TestCommunicationsManager commsManager = new TestCommunicationsManager(); 69 TestCommunicationsManager commsManager = new TestCommunicationsManager();
70 CachedUserInfo userInfo = UserProfileTestUtils.CreateUserWithInventory(commsManager); 70 CachedUserInfo userInfo = UserProfileTestUtils.CreateUserWithInventory(commsManager);
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}