From fa3d8220f20a005570c26eb5e5fb1bc349b0eaca Mon Sep 17 00:00:00 2001 From: Sean Dague Date: Thu, 16 Oct 2008 15:58:05 +0000 Subject: - Enforced no user or agent with UUID 0 on agent DB insertion --- OpenSim/Data/Tests/BasicUserTest.cs | 3 +++ 1 file changed, 3 insertions(+) (limited to 'OpenSim/Data/Tests/BasicUserTest.cs') 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 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); } [Test] -- cgit v1.1