diff options
Diffstat (limited to 'OpenSim/Data/Tests')
-rw-r--r-- | OpenSim/Data/Tests/BasicUserTest.cs | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/OpenSim/Data/Tests/BasicUserTest.cs b/OpenSim/Data/Tests/BasicUserTest.cs index 4ca7290..5e6e4da 100644 --- a/OpenSim/Data/Tests/BasicUserTest.cs +++ b/OpenSim/Data/Tests/BasicUserTest.cs | |||
@@ -135,6 +135,9 @@ namespace OpenSim.Data.Tests | |||
135 | Assert.That(user1,Is.EqualTo(u1a.ID)); | 135 | Assert.That(user1,Is.EqualTo(u1a.ID)); |
136 | Assert.That(user2,Is.EqualTo(u2a.ID)); | 136 | Assert.That(user2,Is.EqualTo(u2a.ID)); |
137 | Assert.That(user3,Is.EqualTo(u3a.ID)); | 137 | Assert.That(user3,Is.EqualTo(u3a.ID)); |
138 | |||
139 | // and one email test | ||
140 | Assert.That(u1.Email, Is.EqualTo(u1a.Email)); | ||
138 | } | 141 | } |
139 | 142 | ||
140 | [Test] | 143 | [Test] |
@@ -296,7 +299,8 @@ namespace OpenSim.Data.Tests | |||
296 | u.FirstName = fname; | 299 | u.FirstName = fname; |
297 | u.SurName = lname; | 300 | u.SurName = lname; |
298 | u.PasswordHash = "NOTAHASH"; | 301 | u.PasswordHash = "NOTAHASH"; |
299 | u.PasswordSalt = "NOTSALT"; | 302 | u.PasswordSalt = "NOTSALT"; |
303 | u.Email = "nobody@nodomain.nocc"; | ||
300 | // MUST specify at least these 5 parameters or an exception is raised | 304 | // MUST specify at least these 5 parameters or an exception is raised |
301 | 305 | ||
302 | return u; | 306 | return u; |