From 88fed2d8336cf4f81ebf1a2ee24d473e9a69eae1 Mon Sep 17 00:00:00 2001 From: Marco Collovati Date: Tue, 19 Nov 2024 15:54:54 +0100 Subject: [PATCH] fix test --- .../vaadin/flow/server/frontend/TaskGeneratePWAIconsTest.java | 1 - 1 file changed, 1 deletion(-) diff --git a/flow-server/src/test/java/com/vaadin/flow/server/frontend/TaskGeneratePWAIconsTest.java b/flow-server/src/test/java/com/vaadin/flow/server/frontend/TaskGeneratePWAIconsTest.java index dbf6b9f2cc6..223e1b9aeed 100644 --- a/flow-server/src/test/java/com/vaadin/flow/server/frontend/TaskGeneratePWAIconsTest.java +++ b/flow-server/src/test/java/com/vaadin/flow/server/frontend/TaskGeneratePWAIconsTest.java @@ -124,7 +124,6 @@ public void execute_PWA_invalidBaseIconNotFound_throws() .assertThrows(ExecutionFailedException.class, task::execute); Assert.assertTrue( exception.getMessage().contains("Cannot load PWA icon")); - Assert.assertTrue(exception.getCause() instanceof IOException); Assert.assertFalse("PWA icons should not have been generated", Files.exists(iconsOutDirectory)); }