diff --git a/flow-server/src/test/java/com/vaadin/flow/internal/UsageStatisticsExporterTest.java b/flow-server/src/test/java/com/vaadin/flow/internal/UsageStatisticsExporterTest.java
index 03b7d6341c5..92dde17ef60 100644
--- a/flow-server/src/test/java/com/vaadin/flow/internal/UsageStatisticsExporterTest.java
+++ b/flow-server/src/test/java/com/vaadin/flow/internal/UsageStatisticsExporterTest.java
@@ -2,15 +2,15 @@
import java.util.stream.Collectors;
-import elemental.json.Json;
-import elemental.json.JsonObject;
import org.jsoup.internal.StringUtil;
-import org.jsoup.nodes.DataNode;
import org.jsoup.nodes.Document;
import org.jsoup.nodes.Element;
import org.jsoup.select.Elements;
import org.junit.Test;
+import elemental.json.Json;
+import elemental.json.JsonObject;
+
import static org.junit.Assert.assertEquals;
public class UsageStatisticsExporterTest {
@@ -40,6 +40,7 @@ public void should_append_script_element_to_the_body() {
Elements bodyInlineElements = document.body()
.getElementsByTag("script");
assertEquals(StringUtil.normaliseWhitespace(expected),
- bodyInlineElements.get(0).childNode(0).outerHtml());
+ StringUtil.normaliseWhitespace(
+ bodyInlineElements.get(0).childNode(0).outerHtml()));
}
}
diff --git a/flow-server/src/test/java/com/vaadin/flow/server/communication/IndexHtmlRequestHandlerTest.java b/flow-server/src/test/java/com/vaadin/flow/server/communication/IndexHtmlRequestHandlerTest.java
index cedf5ff112a..82fe698fc70 100644
--- a/flow-server/src/test/java/com/vaadin/flow/server/communication/IndexHtmlRequestHandlerTest.java
+++ b/flow-server/src/test/java/com/vaadin/flow/server/communication/IndexHtmlRequestHandlerTest.java
@@ -44,9 +44,9 @@
import com.vaadin.flow.component.UI;
import com.vaadin.flow.component.internal.JavaScriptBootstrapUI;
import com.vaadin.flow.di.Lookup;
+import com.vaadin.flow.internal.DevModeHandler;
import com.vaadin.flow.internal.DevModeHandlerManager;
import com.vaadin.flow.internal.UsageStatistics;
-import com.vaadin.flow.internal.DevModeHandler;
import com.vaadin.flow.server.AppShellRegistry;
import com.vaadin.flow.server.BootstrapHandler;
import com.vaadin.flow.server.MockServletServiceSessionSetup;
@@ -676,7 +676,8 @@ public void should_export_usage_statistics_in_development_mode()
+ "window.Vaadin.registrations.push(" + entries + ");");
assertEquals(StringUtil.normaliseWhitespace(expected),
- bodyInlineElements.get(1).childNode(0).outerHtml());
+ StringUtil.normaliseWhitespace(
+ bodyInlineElements.get(1).childNode(0).outerHtml()));
}
@Test
diff --git a/pom.xml b/pom.xml
index 903347c4ab3..96415c13e6d 100644
--- a/pom.xml
+++ b/pom.xml
@@ -114,7 +114,7 @@
devDependencies.json
- 1.12.1
+ 1.14.3
2.4.30.slf4jvaadin1