Remove unnecessary stubbing in SetPasswordCommandTest
This commit is contained in:
parent
2214fa5839
commit
cfbb3f9a7f
@ -89,8 +89,6 @@ public class SetPasswordCommandTest {
|
||||
public void shouldDoNothingCantChangePass() {
|
||||
// given
|
||||
Player player = mock(Player.class);
|
||||
String name = "Carol";
|
||||
given(player.getName()).willReturn(name);
|
||||
|
||||
// when
|
||||
command.runCommand(player, Collections.singletonList("abc123"));
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user