Skip to content

Commit

Permalink
polish
Browse files Browse the repository at this point in the history
  • Loading branch information
maciejwalkowiak committed Sep 18, 2024
1 parent 92cd5a8 commit 5c2347b
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -155,9 +155,8 @@ void resolvesPropertyFromSecretsManager_SecretBinary() {

try (ConfigurableApplicationContext context = runApplication(application,
"aws-secretsmanager:/blob/byte_certificate")) {
byte[] byteCertificates = context.getEnvironment().getProperty("byte_certificate", byte[].class);
System.out.println(new String(byteCertificates, StandardCharsets.UTF_8));
assertThat(byteCertificates).isEqualTo("My certificate".getBytes(StandardCharsets.UTF_8));
assertThat(context.getEnvironment().getProperty("byte_certificate", byte[].class))
.isEqualTo("My certificate".getBytes(StandardCharsets.UTF_8));
}
}

Expand Down

0 comments on commit 5c2347b

Please sign in to comment.