aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Data
diff options
context:
space:
mode:
authorSean Dague2008-10-16 15:58:05 +0000
committerSean Dague2008-10-16 15:58:05 +0000
commitfa3d8220f20a005570c26eb5e5fb1bc349b0eaca (patch)
treea657d2fad8c49daf4cec621b42316a5477ef8857 /OpenSim/Data
parent- Removed a Console.Writeline and added a Test that will be changed (diff)
downloadopensim-SC-fa3d8220f20a005570c26eb5e5fb1bc349b0eaca.zip
opensim-SC-fa3d8220f20a005570c26eb5e5fb1bc349b0eaca.tar.gz
opensim-SC-fa3d8220f20a005570c26eb5e5fb1bc349b0eaca.tar.bz2
opensim-SC-fa3d8220f20a005570c26eb5e5fb1bc349b0eaca.tar.xz
- Enforced no user or agent with UUID 0 on agent DB insertion
Diffstat (limited to 'OpenSim/Data')
-rw-r--r--OpenSim/Data/Tests/BasicUserTest.cs3
1 files changed, 3 insertions, 0 deletions
diff --git a/OpenSim/Data/Tests/BasicUserTest.cs b/OpenSim/Data/Tests/BasicUserTest.cs
index d22262d..b12e917 100644
--- a/OpenSim/Data/Tests/BasicUserTest.cs
+++ b/OpenSim/Data/Tests/BasicUserTest.cs
@@ -226,6 +226,9 @@ namespace OpenSim.Data.Tests
226 Assert.That(user4,Is.EqualTo(a0a.ProfileID)); 226 Assert.That(user4,Is.EqualTo(a0a.ProfileID));
227 Assert.That(agent4,Is.EqualTo(a4a.SessionID)); 227 Assert.That(agent4,Is.EqualTo(a4a.SessionID));
228 Assert.That(zero,Is.EqualTo(a4a.ProfileID)); 228 Assert.That(zero,Is.EqualTo(a4a.ProfileID));
229
230 Assert.That(db.GetAgentByUUID(user4),Is.Null);
231 Assert.That(db.GetAgentByUUID(zero),Is.Null);
229 } 232 }
230 233
231 [Test] 234 [Test]