diff --git a/Plan/common/src/test/java/com/djrapitops/plan/delivery/export/ExportTestUtilities.java b/Plan/common/src/test/java/com/djrapitops/plan/delivery/export/ExportTestUtilities.java index 0c64cb9af..03361207a 100644 --- a/Plan/common/src/test/java/com/djrapitops/plan/delivery/export/ExportTestUtilities.java +++ b/Plan/common/src/test/java/com/djrapitops/plan/delivery/export/ExportTestUtilities.java @@ -73,7 +73,10 @@ public class ExportTestUtilities { public static void assertNoLogsExceptFaviconError(List logs) { List loggedLines = logs.stream() .map(log -> "\n" + log.getLevel().getName() + " " + log.getMessage()) - .filter(log -> !log.contains("favicon.ico") && !log.contains("manifest.json") && !log.contains("fonts.gstatic.com")) + .filter(log -> !log.contains("favicon.ico") + && !log.contains("manifest.json") + && !log.contains("fonts.gstatic.com") + && !log.contains("fonts.googleapis.com")) .toList(); assertTrue(loggedLines.isEmpty(), () -> "Browser console included " + loggedLines.size() + " logs: " + loggedLines); } diff --git a/Plan/common/src/test/java/com/djrapitops/plan/delivery/webserver/JSErrorRegressionTest.java b/Plan/common/src/test/java/com/djrapitops/plan/delivery/webserver/JSErrorRegressionTest.java index b23b12021..15334322c 100644 --- a/Plan/common/src/test/java/com/djrapitops/plan/delivery/webserver/JSErrorRegressionTest.java +++ b/Plan/common/src/test/java/com/djrapitops/plan/delivery/webserver/JSErrorRegressionTest.java @@ -195,7 +195,7 @@ class JSErrorRegressionTest { private void assertNoLogs(String testName, List logs) { assertTrue(logs.isEmpty(), () -> testName + "Browser console included " + logs.size() + " logs: " + logs.stream() .map(log -> "\n" + log.getLevel().getName() + " " + log.getMessage()) - .filter(log -> !log.contains("fonts.gstatic.com")) + .filter(log -> !log.contains("fonts.gstatic.com") && !log.contains("fonts.googleapis.com")) .toList()); } } \ No newline at end of file