From 63ef14bd8c5024eadf00fae50c12749b2a7fbf31 Mon Sep 17 00:00:00 2001 From: Sean Dague Date: Wed, 15 Oct 2008 18:15:46 +0000 Subject: - Added User Appearance Set and Get tests --- OpenSim/Data/Tests/BasicUserTest.cs | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'OpenSim/Data/Tests') diff --git a/OpenSim/Data/Tests/BasicUserTest.cs b/OpenSim/Data/Tests/BasicUserTest.cs index 1537d67..5d798d3 100644 --- a/OpenSim/Data/Tests/BasicUserTest.cs +++ b/OpenSim/Data/Tests/BasicUserTest.cs @@ -282,6 +282,16 @@ namespace OpenSim.Data.Tests fl1 = db.GetUserFriendList(user1); 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) { -- cgit v1.1