- Added User Appearance Set and Get tests

0.6.0-stable
Sean Dague 2008-10-15 18:15:46 +00:00
parent f2eca571b8
commit 63ef14bd8c
1 changed files with 10 additions and 0 deletions

View File

@ -282,6 +282,16 @@ namespace OpenSim.Data.Tests
fl1 = db.GetUserFriendList(user1); fl1 = db.GetUserFriendList(user1);
Assert.That(fl1[0].FriendPerms,Is.EqualTo(4)); Assert.That(fl1[0].FriendPerms,Is.EqualTo(4));
} }
[Test]
public void T040_UserAppearance()
{
AvatarAppearance appear = new AvatarAppearance();
appear.Owner = user1;
db.UpdateUserAppearance(user1, appear);
AvatarAppearance user1app = db.GetUserAppearance(user1);
Assert.That(user1,Is.EqualTo(user1app.Owner));
}
public UserProfileData NewUser(UUID id,string fname,string lname) public UserProfileData NewUser(UUID id,string fname,string lname)
{ {