diff options
Diffstat (limited to 'OpenSim/Region/ClientStack/Linden/UDP/Tests/BasicCircuitTests.cs')
-rw-r--r-- | OpenSim/Region/ClientStack/Linden/UDP/Tests/BasicCircuitTests.cs | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/OpenSim/Region/ClientStack/Linden/UDP/Tests/BasicCircuitTests.cs b/OpenSim/Region/ClientStack/Linden/UDP/Tests/BasicCircuitTests.cs index 1457194..a575e36 100644 --- a/OpenSim/Region/ClientStack/Linden/UDP/Tests/BasicCircuitTests.cs +++ b/OpenSim/Region/ClientStack/Linden/UDP/Tests/BasicCircuitTests.cs | |||
@@ -202,10 +202,9 @@ namespace OpenSim.Region.ClientStack.LindenUDP.Tests | |||
202 | ScenePresence sp = scene.GetScenePresence(myAgentUuid); | 202 | ScenePresence sp = scene.GetScenePresence(myAgentUuid); |
203 | Assert.That(sp.UUID, Is.EqualTo(myAgentUuid)); | 203 | Assert.That(sp.UUID, Is.EqualTo(myAgentUuid)); |
204 | 204 | ||
205 | // FIXME: We're still replying to an ack when the client is not authorized, which is not correct behaviour. | 205 | Assert.That(llUdpServer.PacketsSent.Count, Is.EqualTo(1)); |
206 | Assert.That(llUdpServer.PacketsSent.Count, Is.EqualTo(2)); | ||
207 | 206 | ||
208 | Packet packet = llUdpServer.PacketsSent[1]; | 207 | Packet packet = llUdpServer.PacketsSent[0]; |
209 | Assert.That(packet, Is.InstanceOf(typeof(PacketAckPacket))); | 208 | Assert.That(packet, Is.InstanceOf(typeof(PacketAckPacket))); |
210 | 209 | ||
211 | PacketAckPacket ackPacket = packet as PacketAckPacket; | 210 | PacketAckPacket ackPacket = packet as PacketAckPacket; |