- Enforced no user or agent with UUID 0 on agent DB insertion

0.6.0-stable
Sean Dague 2008-10-16 17:46:43 +00:00
parent 4df08aed30
commit 8795bb623d
1 changed files with 5 additions and 0 deletions

View File

@ -222,6 +222,11 @@ namespace OpenSim.Data.Tests
UserAgentData a0a = db.GetAgentByUUID(user4);
UserAgentData a4a = db.GetAgentByUUID(zero);
Assert.That(zero,Is.EqualTo(a0a.SessionID));
Assert.That(user4,Is.EqualTo(a0a.ProfileID));
Assert.That(agent4,Is.EqualTo(a4a.SessionID));
Assert.That(zero,Is.EqualTo(a4a.ProfileID));
Assert.That(db.GetAgentByUUID(user4),Is.Null);
Assert.That(db.GetAgentByUUID(zero),Is.Null);
}