diff --git a/marketplace-service/src/test/java/com/axonivy/market/util/LoggingUtilsTest.java b/marketplace-service/src/test/java/com/axonivy/market/util/LoggingUtilsTest.java index ca74fdbd..be0ad64f 100644 --- a/marketplace-service/src/test/java/com/axonivy/market/util/LoggingUtilsTest.java +++ b/marketplace-service/src/test/java/com/axonivy/market/util/LoggingUtilsTest.java @@ -42,22 +42,22 @@ void testGetArgumentsStringOnNullValue() { Assertions.assertEquals(LoggingConstants.NO_ARGUMENTS, result); } -// @Test -// void testBuildLogEntry() { -// Map given = Map.of( -// "method", "test", -// "timestamp", "15:02:00" -// ); -// String expected = """ -// -// test -// 15:02:00 -// -// """.indent(2); -// -// var result = LoggingUtils.buildLogEntry(given); -// Assertions.assertEquals(expected, result); -// } + @Test + void testBuildLogEntry() { + Map given = Map.of( + "method", "test", + "timestamp", "15:02:00" + ); + String expected = """ + + test + 15:02:00 + + """.indent(2); + + var result = LoggingUtils.buildLogEntry(given); + Assertions.assertEquals(expected, result); + } @Test void testGetCurrentDate() {