Fix two failing tests.

This commit is contained in:
Major-
2015-05-27 14:53:42 +01:00
parent e4778105f5
commit 0877805982
4 changed files with 20 additions and 12 deletions
@@ -46,7 +46,7 @@ public class TestGamePacketEncoder {
packet = new GamePacket(9, PacketType.VARIABLE_BYTE, payload.copy());
out.clear();
encoder.encode(null, null, out);
encoder.encode(null, packet, out);
buf = (ByteBuf) out.get(0);
assertEquals(7, buf.readableBytes());