Add missing test matcher

- Mock verifications need matchers on all parameters, or on none. Test fails otherwise
This commit is contained in:
ljacqu 2016-05-04 18:40:06 +02:00
parent 2d0bf08c40
commit 3fe2f0b6a8

View File

@ -204,7 +204,7 @@ public class RegisterCommandTest {
// then
verify(commandService).validateEmail(playerMail);
verify(management).performRegister(eq(sender), argThat(stringWithLength(passLength)), eq(playerMail), true);
verify(management).performRegister(eq(sender), argThat(stringWithLength(passLength)), eq(playerMail), eq(true));
}
@Test