aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Data/Tests
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Data/Tests')
-rw-r--r--OpenSim/Data/Tests/BasicUserTest.cs4
1 files changed, 4 insertions, 0 deletions
diff --git a/OpenSim/Data/Tests/BasicUserTest.cs b/OpenSim/Data/Tests/BasicUserTest.cs
index ba4ce70..ba6da68 100644
--- a/OpenSim/Data/Tests/BasicUserTest.cs
+++ b/OpenSim/Data/Tests/BasicUserTest.cs
@@ -126,6 +126,9 @@ namespace OpenSim.Data.Tests
126 UserProfileData u1 = NewUser(user1,fname1,lname1); 126 UserProfileData u1 = NewUser(user1,fname1,lname1);
127 UserProfileData u2 = NewUser(user2,fname2,lname2); 127 UserProfileData u2 = NewUser(user2,fname2,lname2);
128 UserProfileData u3 = NewUser(user3,fname3,lname3); 128 UserProfileData u3 = NewUser(user3,fname3,lname3);
129 // this is used to check whether null works here
130 u3.Email = null;
131
129 db.AddNewUserProfile(u1); 132 db.AddNewUserProfile(u1);
130 db.AddNewUserProfile(u2); 133 db.AddNewUserProfile(u2);
131 db.AddNewUserProfile(u3); 134 db.AddNewUserProfile(u3);
@@ -138,6 +141,7 @@ namespace OpenSim.Data.Tests
138 141
139 // and one email test 142 // and one email test
140 Assert.That(u1.Email, Is.EqualTo(u1a.Email)); 143 Assert.That(u1.Email, Is.EqualTo(u1a.Email));
144 Assert.That(u3.Email, Is.Null);
141 } 145 }
142 146
143 [Test] 147 [Test]