aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Data/Tests/BasicUserTest.cs
diff options
context:
space:
mode:
authorSean Dague2008-10-16 15:58:06 +0000
committerSean Dague2008-10-16 15:58:06 +0000
commit24822ab8909408c55216441245ccc08eabbef7f0 (patch)
tree2ac9fe58f6f985780b6d42dbb6145c05f8aa489d /OpenSim/Data/Tests/BasicUserTest.cs
parent- Enforced no user or agent with UUID 0 on agent DB insertion (diff)
downloadopensim-SC_OLD-24822ab8909408c55216441245ccc08eabbef7f0.zip
opensim-SC_OLD-24822ab8909408c55216441245ccc08eabbef7f0.tar.gz
opensim-SC_OLD-24822ab8909408c55216441245ccc08eabbef7f0.tar.bz2
opensim-SC_OLD-24822ab8909408c55216441245ccc08eabbef7f0.tar.xz
- New attempt after merging problem
Diffstat (limited to 'OpenSim/Data/Tests/BasicUserTest.cs')
-rw-r--r--OpenSim/Data/Tests/BasicUserTest.cs5
1 files changed, 0 insertions, 5 deletions
diff --git a/OpenSim/Data/Tests/BasicUserTest.cs b/OpenSim/Data/Tests/BasicUserTest.cs
index b12e917..0bcc080 100644
--- a/OpenSim/Data/Tests/BasicUserTest.cs
+++ b/OpenSim/Data/Tests/BasicUserTest.cs
@@ -214,7 +214,6 @@ namespace OpenSim.Data.Tests
214 [Test] 214 [Test]
215 public void T022_ExceptionalCases() 215 public void T022_ExceptionalCases()
216 { 216 {
217 // This will follow User behavior, return Null, in the future
218 UserAgentData a0 = NewAgent(user4,zero); 217 UserAgentData a0 = NewAgent(user4,zero);
219 UserAgentData a4 = NewAgent(zero,agent4); 218 UserAgentData a4 = NewAgent(zero,agent4);
220 db.AddNewUserAgent(a0); 219 db.AddNewUserAgent(a0);
@@ -222,10 +221,6 @@ namespace OpenSim.Data.Tests
222 221
223 UserAgentData a0a = db.GetAgentByUUID(user4); 222 UserAgentData a0a = db.GetAgentByUUID(user4);
224 UserAgentData a4a = db.GetAgentByUUID(zero); 223 UserAgentData a4a = db.GetAgentByUUID(zero);
225 Assert.That(zero,Is.EqualTo(a0a.SessionID));
226 Assert.That(user4,Is.EqualTo(a0a.ProfileID));
227 Assert.That(agent4,Is.EqualTo(a4a.SessionID));
228 Assert.That(zero,Is.EqualTo(a4a.ProfileID));
229 224
230 Assert.That(db.GetAgentByUUID(user4),Is.Null); 225 Assert.That(db.GetAgentByUUID(user4),Is.Null);
231 Assert.That(db.GetAgentByUUID(zero),Is.Null); 226 Assert.That(db.GetAgentByUUID(zero),Is.Null);