mirror of
https://github.com/opensim/opensim.git
synced 2026-08-11 20:05:33 +08:00
Fixing a spot I missed in assets. Switching Grid to the new naming schema with Store/Get
This commit is contained in:
@@ -110,14 +110,14 @@ namespace OpenSim.Framework.Communications.Tests
|
||||
IUserDataPlugin userDataPlugin = commsManager.UserDataPlugin;
|
||||
|
||||
// Check that we can't update info before it exists
|
||||
Assert.That(userCacheService.UpdateProfile(newProfile), Is.False);
|
||||
Assert.That(userCacheService.StoreProfile(newProfile), Is.False);
|
||||
Assert.That(userDataPlugin.GetUserByUUID(userId), Is.Null);
|
||||
|
||||
// Check that we can update a profile once it exists
|
||||
LocalUserServices lus = (LocalUserServices)commsManager.UserService;
|
||||
lus.AddUser(firstName, originalLastName, "pingu", "ted@excellentadventure.com", 1000, 1000, userId);
|
||||
|
||||
Assert.That(userCacheService.UpdateProfile(newProfile), Is.True);
|
||||
Assert.That(userCacheService.StoreProfile(newProfile), Is.True);
|
||||
UserProfileData retrievedProfile = userCacheService.GetUserDetails(userId).UserProfile;
|
||||
Assert.That(retrievedProfile.SurName, Is.EqualTo(newLastName));
|
||||
Assert.That(userDataPlugin.GetUserByUUID(userId).SurName, Is.EqualTo(newLastName));
|
||||
|
||||
Reference in New Issue
Block a user