diff options
Diffstat (limited to 'OpenSim/Region/CoreModules/ServiceConnectorsOut/Presence/Tests')
-rw-r--r-- | OpenSim/Region/CoreModules/ServiceConnectorsOut/Presence/Tests/PresenceConnectorsTests.cs | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/OpenSim/Region/CoreModules/ServiceConnectorsOut/Presence/Tests/PresenceConnectorsTests.cs b/OpenSim/Region/CoreModules/ServiceConnectorsOut/Presence/Tests/PresenceConnectorsTests.cs index e5ded5b..ef910f4 100644 --- a/OpenSim/Region/CoreModules/ServiceConnectorsOut/Presence/Tests/PresenceConnectorsTests.cs +++ b/OpenSim/Region/CoreModules/ServiceConnectorsOut/Presence/Tests/PresenceConnectorsTests.cs | |||
@@ -90,7 +90,6 @@ namespace OpenSim.Region.CoreModules.ServiceConnectorsOut.Presence.Tests | |||
90 | PresenceInfo result = m_LocalConnector.GetAgent(session1); | 90 | PresenceInfo result = m_LocalConnector.GetAgent(session1); |
91 | Assert.IsNotNull(result, "Retrieved GetAgent is null"); | 91 | Assert.IsNotNull(result, "Retrieved GetAgent is null"); |
92 | Assert.That(result.UserID, Is.EqualTo(user1), "Retrieved userID does not match"); | 92 | Assert.That(result.UserID, Is.EqualTo(user1), "Retrieved userID does not match"); |
93 | Assert.IsTrue(result.Online, "Agent just logged in but is offline"); | ||
94 | 93 | ||
95 | UUID region1 = UUID.Random(); | 94 | UUID region1 = UUID.Random(); |
96 | bool r = m_LocalConnector.ReportAgent(session1, region1); | 95 | bool r = m_LocalConnector.ReportAgent(session1, region1); |
@@ -107,8 +106,7 @@ namespace OpenSim.Region.CoreModules.ServiceConnectorsOut.Presence.Tests | |||
107 | r = m_LocalConnector.LogoutAgent(session1); | 106 | r = m_LocalConnector.LogoutAgent(session1); |
108 | Assert.IsTrue(r, "LogoutAgent returned false"); | 107 | Assert.IsTrue(r, "LogoutAgent returned false"); |
109 | result = m_LocalConnector.GetAgent(session1); | 108 | result = m_LocalConnector.GetAgent(session1); |
110 | Assert.IsNotNull(result, "Agent session disappeared from storage after logout"); | 109 | Assert.IsNull(result, "Agent session is still stored after logout"); |
111 | Assert.IsFalse(result.Online, "Agent is reported to be Online after logout"); | ||
112 | 110 | ||
113 | r = m_LocalConnector.ReportAgent(session1, region1); | 111 | r = m_LocalConnector.ReportAgent(session1, region1); |
114 | Assert.IsFalse(r, "ReportAgent of non-logged in user returned true"); | 112 | Assert.IsFalse(r, "ReportAgent of non-logged in user returned true"); |