diff --git a/src/test/java/com/payline/kit/utils/UtilsTest.java b/src/test/java/com/payline/kit/utils/UtilsTest.java index 866ecf0..8117543 100644 --- a/src/test/java/com/payline/kit/utils/UtilsTest.java +++ b/src/test/java/com/payline/kit/utils/UtilsTest.java @@ -90,7 +90,7 @@ void shouldInitWebWebWithBundle() { assertEquals("111222333", requestContext.get(BindingProvider.USERNAME_PROPERTY)); assertEquals("xxx000xxx", requestContext.get(BindingProvider.PASSWORD_PROPERTY)); // Données dans payline.properties assertEquals("https://homologation.payline.com/V4/services/WebPaymentAPI", requestContext.get(BindingProvider.ENDPOINT_ADDRESS_PROPERTY)); - assertEquals("kit JAVA v4.76", ((Map>) requestContext.get(MessageContext.HTTP_REQUEST_HEADERS)).get("version").get(0)); + assertEquals(System.getProperty("java.version") + " - " + "JAVA SDK v4.77", ((Map>) requestContext.get(MessageContext.HTTP_REQUEST_HEADERS)).get("version").get(0)); assertEquals("false", System.getProperty("http.proxySet")); assertNull(System.getProperty("http.proxyHost")); assertNull(System.getProperty("http.proxyPort"));