diff --git a/src/login/character.rs b/src/login/character.rs index 386bd9d..7e1385f 100644 --- a/src/login/character.rs +++ b/src/login/character.rs @@ -228,7 +228,10 @@ mod test { struct TestData; impl DataAccess for TestData {} let mut server = CharacterServerState::new(TestData {}); - let send = server.handle(1, &RecvCharacterPacket::Checksum(Checksum {flag: 0})).collect::<Vec<_>>(); + let send = server.handle(1, &RecvCharacterPacket::Checksum(Checksum {flag: 0, + checksum: 1234, + padding: 0, + })).collect::<Vec<_>>(); assert!(send.len() == 1); let bytes = send[0].1.as_bytes();