diff --git a/samples/micronaut4/pom.xml b/samples/micronaut4/pom.xml index ac34bf7..2f98b95 100644 --- a/samples/micronaut4/pom.xml +++ b/samples/micronaut4/pom.xml @@ -12,7 +12,7 @@ io.micronaut.platform micronaut-parent - 4.5.1 + 4.6.0 diff --git a/samples/micronaut4/src/test/java/io/github/agebhar1/micrometer/security/cert/DemoMicrometerCertsExpirationApplicationTests.java b/samples/micronaut4/src/test/java/io/github/agebhar1/micrometer/security/cert/DemoMicrometerCertsExpirationApplicationTests.java index e7c759e..a58fed3 100644 --- a/samples/micronaut4/src/test/java/io/github/agebhar1/micrometer/security/cert/DemoMicrometerCertsExpirationApplicationTests.java +++ b/samples/micronaut4/src/test/java/io/github/agebhar1/micrometer/security/cert/DemoMicrometerCertsExpirationApplicationTests.java @@ -43,9 +43,9 @@ void shouldExposeCertsMetric(RequestSpecification spec) { .body(stringContainsInOrder( "# HELP security_cert_x509_expiration_seconds Time since the Unix epoch in seconds when the certificate is no longer valid.", "# TYPE security_cert_x509_expiration_seconds gauge", - "security_cert_x509_expiration_seconds{subjectDN=\"CN=Amazon Root CA 4, O=Amazon, C=US\",} 2.2216032E9", - "security_cert_x509_expiration_seconds{subjectDN=\"CN=GlobalSign, O=GlobalSign, OU=GlobalSign Root CA - R6\",} 2.0493216E9", - "security_cert_x509_expiration_seconds{subjectDN=\"CN=Secure Global CA, O=SecureTrust Corporation, C=US\",} 1.893441126E9" + "security_cert_x509_expiration_seconds{subjectDN=\"CN=Amazon Root CA 4, O=Amazon, C=US\"} 2.2216032E9", + "security_cert_x509_expiration_seconds{subjectDN=\"CN=GlobalSign, O=GlobalSign, OU=GlobalSign Root CA - R6\"} 2.0493216E9", + "security_cert_x509_expiration_seconds{subjectDN=\"CN=Secure Global CA, O=SecureTrust Corporation, C=US\"} 1.893441126E9" )); } }