Don't corrupt stdout on unit tests
This commit is contained in:
parent
2e7eb972ff
commit
f2baf9b8dc
|
@ -185,7 +185,9 @@ public abstract class BaseApp {
|
||||||
loggingConfigOff();
|
loggingConfigOff();
|
||||||
validateJavaVersion();
|
validateJavaVersion();
|
||||||
|
|
||||||
AnsiConsole.systemInstall();
|
if (System.getProperty("unit_test") != null) {
|
||||||
|
AnsiConsole.systemInstall();
|
||||||
|
}
|
||||||
|
|
||||||
// log version while the logging is off
|
// log version while the logging is off
|
||||||
VersionUtil.getVersion();
|
VersionUtil.getVersion();
|
||||||
|
|
Loading…
Reference in New Issue