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

0.6.0-stable
Sean Dague 2008-10-16 15:58:05 +00:00
parent b9a736f0b8
commit fa3d8220f2
1 changed files with 3 additions and 0 deletions

View File

@ -226,6 +226,9 @@ namespace OpenSim.Data.Tests
Assert.That(user4,Is.EqualTo(a0a.ProfileID)); Assert.That(user4,Is.EqualTo(a0a.ProfileID));
Assert.That(agent4,Is.EqualTo(a4a.SessionID)); Assert.That(agent4,Is.EqualTo(a4a.SessionID));
Assert.That(zero,Is.EqualTo(a4a.ProfileID)); Assert.That(zero,Is.EqualTo(a4a.ProfileID));
Assert.That(db.GetAgentByUUID(user4),Is.Null);
Assert.That(db.GetAgentByUUID(zero),Is.Null);
} }
[Test] [Test]