Closes gh-12004
This commit is contained in:
Johnny Lim
2018-02-13 00:47:57 +09:00
committed by Stephane Nicoll
parent c97a9a0cb2
commit 5a9865dabb
8 changed files with 14 additions and 14 deletions

View File

@@ -56,7 +56,7 @@ public class EncodePasswordCommandTests {
}
@Test
public void encodeWithNoAlgorithShouldUseBcrypt() throws Exception {
public void encodeWithNoAlgorithmShouldUseBcrypt() throws Exception {
EncodePasswordCommand command = new EncodePasswordCommand();
ExitStatus status = command.run("boot");
verify(this.log).info(this.message.capture());
@@ -89,7 +89,7 @@ public class EncodePasswordCommandTests {
}
@Test
public void encodeWithUnkownAlgorithShouldExitWithError() throws Exception {
public void encodeWithUnknownAlgorithmShouldExitWithError() throws Exception {
EncodePasswordCommand command = new EncodePasswordCommand();
ExitStatus status = command.run("--algorithm", "bad", "boot");
verify(this.log)