diff --git a/OpenSim/Data/Tests/BasicUserTest.cs b/OpenSim/Data/Tests/BasicUserTest.cs index c12b2d5ad1..d22262d7d8 100644 --- a/OpenSim/Data/Tests/BasicUserTest.cs +++ b/OpenSim/Data/Tests/BasicUserTest.cs @@ -219,8 +219,13 @@ namespace OpenSim.Data.Tests UserAgentData a4 = NewAgent(zero,agent4); db.AddNewUserAgent(a0); db.AddNewUserAgent(a4); - Assert.That(db.GetAgentByUUID(user4),Is.Null); - Assert.That(db.GetAgentByUUID(zero),Is.Null); + + 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)); } [Test]