Skip to content

Commit 997a695

Browse files
committed
BAEL-5421
1 parent 48a7898 commit 997a695

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

core-java-modules/core-java-jar/src/test/java/com/baeldung/jar/MySampleGUIAppnUnitTest.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,7 @@ class MySampleGUIAppnUnitTest {
88

99
@Test
1010
void testMain() throws IOException {
11-
//System.setProperty("java.awt.headless", "true");
12-
//System.out.println(java.awt.GraphicsEnvironment.isHeadless());
11+
System.setProperty("java.awt.headless", "true");
1312
MySampleGUIAppn instance = new MySampleGUIAppn();
1413
String [] args = null;
1514
System.exit(0);

0 commit comments

Comments
 (0)