Skip to content

Commit

Permalink
[ELY-2694] Update assertEquals calls in CommandCredentialSourceTest s…
Browse files Browse the repository at this point in the history
…o that the expected value and actual value are passed in the correct order
  • Loading branch information
map-b committed Oct 16, 2023
1 parent a7b6865 commit 11bf990
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ public void testCommand() throws GeneralSecurityException, IOException {
assertNotNull(password);
final ClearPassword clearPassword = password.castAs(ClearPassword.class, ClearPassword.ALGORITHM_CLEAR);
assertNotNull(clearPassword);
assertEquals(new String(clearPassword.getPassword()), "secret_key_THREE");
assertEquals("secret_key_THREE", new String(clearPassword.getPassword()));
}

private static CommandCredentialSource.Builder getBuilder() {
Expand Down

0 comments on commit 11bf990

Please sign in to comment.