aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Data/Tests/BasicUserTest.cs
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Data/Tests/BasicUserTest.cs')
-rw-r--r--OpenSim/Data/Tests/BasicUserTest.cs12
1 files changed, 2 insertions, 10 deletions
diff --git a/OpenSim/Data/Tests/BasicUserTest.cs b/OpenSim/Data/Tests/BasicUserTest.cs
index a3c125d..f9feb9b 100644
--- a/OpenSim/Data/Tests/BasicUserTest.cs
+++ b/OpenSim/Data/Tests/BasicUserTest.cs
@@ -71,14 +71,7 @@ namespace OpenSim.Data.Tests
71 71
72 public void SuperInit() 72 public void SuperInit()
73 { 73 {
74 try 74 OpenSim.Tests.Common.TestLogging.LogToConsole();
75 {
76 XmlConfigurator.Configure();
77 }
78 catch (Exception)
79 {
80 // I don't care, just leave log4net off
81 }
82 random = new Random(); 75 random = new Random();
83 user1 = UUID.Random(); 76 user1 = UUID.Random();
84 user2 = UUID.Random(); 77 user2 = UUID.Random();
@@ -395,8 +388,7 @@ namespace OpenSim.Data.Tests
395 { 388 {
396 UUID id = user5; 389 UUID id = user5;
397 UserProfileData u = db.GetUserByUUID(id); 390 UserProfileData u = db.GetUserByUUID(id);
398 ScrambleForTesting.Scramble(u); 391 new PropertyScrambler<UserProfileData>().DontScramble(x=>x.ID).Scramble(u);
399 u.ID = id;
400 392
401 db.UpdateUserProfile(u); 393 db.UpdateUserProfile(u);
402 UserProfileData u1a = db.GetUserByUUID(id); 394 UserProfileData u1a = db.GetUserByUUID(id);