Skip to content

Commit 39f920f

Browse files
committed
Fix unit test
1 parent 1740211 commit 39f920f

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

besu/src/test/java/org/hyperledger/besu/cli/BesuCommandTest.java

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -830,10 +830,9 @@ public void nodekeyOptionDisabledUnderDocker() {
830830
final File file = new File("./specific/enclavePrivateKey");
831831
file.deleteOnExit();
832832

833-
parseCommand("--node-private-enclavePrivateKey-file", file.getPath());
834-
833+
parseCommand("--node-private-key-file", file.getPath());
835834
assertThat(commandErrorOutput.toString())
836-
.startsWith("Unknown options: '--node-private-enclavePrivateKey-file', './specific/key'");
835+
.startsWith("Unknown options: '--node-private-key-file', './specific/enclavePrivateKey'");
837836
assertThat(commandOutput.toString()).isEmpty();
838837
}
839838

0 commit comments

Comments
 (0)