From ef94a99d811f1af8c247076682a3ef51174dd758 Mon Sep 17 00:00:00 2001 From: vga91 Date: Fri, 22 Dec 2023 17:23:20 +0100 Subject: [PATCH] [BqvAC2FK] spotlessApply changes --- full/src/main/java/apoc/load/LoadHtmlBrowser.java | 2 +- full/src/test/java/apoc/load/LoadHtmlTest.java | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/full/src/main/java/apoc/load/LoadHtmlBrowser.java b/full/src/main/java/apoc/load/LoadHtmlBrowser.java index e777fc4cae..785718fe45 100644 --- a/full/src/main/java/apoc/load/LoadHtmlBrowser.java +++ b/full/src/main/java/apoc/load/LoadHtmlBrowser.java @@ -26,6 +26,7 @@ import java.io.InputStream; import java.net.MalformedURLException; import java.net.URL; +import java.time.Duration; import java.util.Map; import org.apache.commons.io.IOUtils; import org.openqa.selenium.By; @@ -37,7 +38,6 @@ import org.openqa.selenium.support.ui.Wait; import org.openqa.selenium.support.ui.WebDriverWait; - public class LoadHtmlBrowser { public static InputStream getChromeInputStream( diff --git a/full/src/test/java/apoc/load/LoadHtmlTest.java b/full/src/test/java/apoc/load/LoadHtmlTest.java index a87a390267..8850405c01 100644 --- a/full/src/test/java/apoc/load/LoadHtmlTest.java +++ b/full/src/test/java/apoc/load/LoadHtmlTest.java @@ -116,8 +116,7 @@ public void testParseGeneratedJsWrongConfigs() { assertWrongConfig(errorInvalidConfig, map("browser", FIREFOX, "architecture", "dunno")); - assertWrongConfig( - "Error HTTP 401 executing", map("browser", FIREFOX, "gitHubToken", "12345", "forceDownload", true)); + assertWrongConfig("Error HTTP", map("browser", FIREFOX, "gitHubToken", "12345", "forceDownload", true)); } private void assertWrongConfig(String msgError, Map config) {