From 4bb34ab44a54e51ca8a73af6a7ba78272670f8f8 Mon Sep 17 00:00:00 2001 From: Nicolas Roduit Date: Fri, 12 Jul 2024 12:16:22 +0200 Subject: [PATCH] Fix test issue --- .../src/test/java/org/weasis/core/ui/launcher/LauncherTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/weasis-core/src/test/java/org/weasis/core/ui/launcher/LauncherTest.java b/weasis-core/src/test/java/org/weasis/core/ui/launcher/LauncherTest.java index bcb651d2a..e9971bf35 100644 --- a/weasis-core/src/test/java/org/weasis/core/ui/launcher/LauncherTest.java +++ b/weasis-core/src/test/java/org/weasis/core/ui/launcher/LauncherTest.java @@ -41,10 +41,10 @@ class LauncherTest { @BeforeAll static void setUpAll() throws Exception { System.setProperty("weasis.resources.path", "src/test/resources"); // NON-NLS + System.setProperty("weasis.pref.dir", "target/test-classes"); // NON-NLS mainFrame.setConfigData(new ConfigData(null)); ObjectName objectName2 = new ObjectName("weasis:name=MainWindow"); // NON-NLS - mainFrame.setRootPaneContainer(new JFrame()); ManagementFactory.getPlatformMBeanServer().registerMBean(mainFrame, objectName2); }