aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Data/Tests/BasicUserTest.cs
diff options
context:
space:
mode:
authorSean Dague2008-11-04 14:54:42 +0000
committerSean Dague2008-11-04 14:54:42 +0000
commit702249358badda5413e67ee0267063c2e2a61498 (patch)
tree42775e792f77d391e5ad730b2bb15f65da3e96d1 /OpenSim/Data/Tests/BasicUserTest.cs
parentPrefix LSL variables which are C# keywords with @ instead of _ when translati... (diff)
downloadopensim-SC_OLD-702249358badda5413e67ee0267063c2e2a61498.zip
opensim-SC_OLD-702249358badda5413e67ee0267063c2e2a61498.tar.gz
opensim-SC_OLD-702249358badda5413e67ee0267063c2e2a61498.tar.bz2
opensim-SC_OLD-702249358badda5413e67ee0267063c2e2a61498.tar.xz
implement email field for MySQL and SQLite
From: Sean Dague <sdague@gmail.com>
Diffstat (limited to 'OpenSim/Data/Tests/BasicUserTest.cs')
-rw-r--r--OpenSim/Data/Tests/BasicUserTest.cs6
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;