- Removed a Console.Writeline and added a Test that will be changed

if the last commit is accepted
0.6.0-stable
Sean Dague 2008-10-16 15:58:03 +00:00
parent 8621303ea9
commit b9a736f0b8
1 changed files with 7 additions and 2 deletions

View File

@ -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]