diff --git a/spring-cloud-aws-autoconfigure/src/test/java/io/awspring/cloud/autoconfigure/config/secretsmanager/SecretsManagerConfigDataLoaderIntegrationTests.java b/spring-cloud-aws-autoconfigure/src/test/java/io/awspring/cloud/autoconfigure/config/secretsmanager/SecretsManagerConfigDataLoaderIntegrationTests.java index 37b41bd30..aa5760364 100644 --- a/spring-cloud-aws-autoconfigure/src/test/java/io/awspring/cloud/autoconfigure/config/secretsmanager/SecretsManagerConfigDataLoaderIntegrationTests.java +++ b/spring-cloud-aws-autoconfigure/src/test/java/io/awspring/cloud/autoconfigure/config/secretsmanager/SecretsManagerConfigDataLoaderIntegrationTests.java @@ -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)); } }