Skip to content

Commit

Permalink
Fix test issue
Browse files Browse the repository at this point in the history
  • Loading branch information
nroduit committed Jul 12, 2024
1 parent d99314a commit 4bb34ab
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}

Expand Down

0 comments on commit 4bb34ab

Please sign in to comment.