- Enforced no user or agent with UUID 0 on agent DB insertion
parent
4df08aed30
commit
8795bb623d
|
@ -222,6 +222,11 @@ namespace OpenSim.Data.Tests
|
||||||
UserAgentData a0a = db.GetAgentByUUID(user4);
|
UserAgentData a0a = db.GetAgentByUUID(user4);
|
||||||
UserAgentData a4a = db.GetAgentByUUID(zero);
|
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(user4),Is.Null);
|
||||||
Assert.That(db.GetAgentByUUID(zero),Is.Null);
|
Assert.That(db.GetAgentByUUID(zero),Is.Null);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue