diff options
Diffstat (limited to 'OpenSim/Data/Tests')
-rw-r--r-- | OpenSim/Data/Tests/BasicUserTest.cs | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/OpenSim/Data/Tests/BasicUserTest.cs b/OpenSim/Data/Tests/BasicUserTest.cs index c12b2d5..d22262d 100644 --- a/OpenSim/Data/Tests/BasicUserTest.cs +++ b/OpenSim/Data/Tests/BasicUserTest.cs | |||
@@ -219,8 +219,13 @@ namespace OpenSim.Data.Tests | |||
219 | UserAgentData a4 = NewAgent(zero,agent4); | 219 | UserAgentData a4 = NewAgent(zero,agent4); |
220 | db.AddNewUserAgent(a0); | 220 | db.AddNewUserAgent(a0); |
221 | db.AddNewUserAgent(a4); | 221 | db.AddNewUserAgent(a4); |
222 | Assert.That(db.GetAgentByUUID(user4),Is.Null); | 222 | |
223 | Assert.That(db.GetAgentByUUID(zero),Is.Null); | 223 | UserAgentData a0a = db.GetAgentByUUID(user4); |
224 | UserAgentData a4a = db.GetAgentByUUID(zero); | ||
225 | Assert.That(zero,Is.EqualTo(a0a.SessionID)); | ||
226 | Assert.That(user4,Is.EqualTo(a0a.ProfileID)); | ||
227 | Assert.That(agent4,Is.EqualTo(a4a.SessionID)); | ||
228 | Assert.That(zero,Is.EqualTo(a4a.ProfileID)); | ||
224 | } | 229 | } |
225 | 230 | ||
226 | [Test] | 231 | [Test] |