diff options
author | Sean Dague | 2008-10-16 17:46:43 +0000 |
---|---|---|
committer | Sean Dague | 2008-10-16 17:46:43 +0000 |
commit | 8795bb623d3fd84bb3627059230ca0052f6339df (patch) | |
tree | 833ee7f35ed013c2f6c3b995123fa83c4cd54ad0 /OpenSim/Data/Tests | |
parent | * Apply http://opensimulator.org/mantis/view.php?id=2401 (diff) | |
download | opensim-SC_OLD-8795bb623d3fd84bb3627059230ca0052f6339df.zip opensim-SC_OLD-8795bb623d3fd84bb3627059230ca0052f6339df.tar.gz opensim-SC_OLD-8795bb623d3fd84bb3627059230ca0052f6339df.tar.bz2 opensim-SC_OLD-8795bb623d3fd84bb3627059230ca0052f6339df.tar.xz |
- Enforced no user or agent with UUID 0 on agent DB insertion
Diffstat (limited to 'OpenSim/Data/Tests')
-rw-r--r-- | OpenSim/Data/Tests/BasicUserTest.cs | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/OpenSim/Data/Tests/BasicUserTest.cs b/OpenSim/Data/Tests/BasicUserTest.cs index 0bcc080..f9af2e6 100644 --- a/OpenSim/Data/Tests/BasicUserTest.cs +++ b/OpenSim/Data/Tests/BasicUserTest.cs | |||
@@ -222,6 +222,11 @@ namespace OpenSim.Data.Tests | |||
222 | UserAgentData a0a = db.GetAgentByUUID(user4); | 222 | UserAgentData a0a = db.GetAgentByUUID(user4); |
223 | UserAgentData a4a = db.GetAgentByUUID(zero); | 223 | UserAgentData a4a = db.GetAgentByUUID(zero); |
224 | 224 | ||
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 | |||
225 | Assert.That(db.GetAgentByUUID(user4),Is.Null); | 230 | Assert.That(db.GetAgentByUUID(user4),Is.Null); |
226 | Assert.That(db.GetAgentByUUID(zero),Is.Null); | 231 | Assert.That(db.GetAgentByUUID(zero),Is.Null); |
227 | } | 232 | } |