- Removed a Console.Writeline and added a Test that will be changed
if the last commit is accepted0.6.0-stable
parent
8621303ea9
commit
b9a736f0b8
|
@ -219,8 +219,13 @@ namespace OpenSim.Data.Tests
|
||||||
UserAgentData a4 = NewAgent(zero,agent4);
|
UserAgentData a4 = NewAgent(zero,agent4);
|
||||||
db.AddNewUserAgent(a0);
|
db.AddNewUserAgent(a0);
|
||||||
db.AddNewUserAgent(a4);
|
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]
|
[Test]
|
||||||
|
|
Loading…
Reference in New Issue