Don't corrupt stdout on unit tests

This commit is contained in:
jamesagnew 2021-03-13 18:41:31 -05:00
parent 2e7eb972ff
commit f2baf9b8dc
1 changed files with 3 additions and 1 deletions

View File

@ -185,7 +185,9 @@ public abstract class BaseApp {
loggingConfigOff(); loggingConfigOff();
validateJavaVersion(); validateJavaVersion();
if (System.getProperty("unit_test") != null) {
AnsiConsole.systemInstall(); AnsiConsole.systemInstall();
}
// log version while the logging is off // log version while the logging is off
VersionUtil.getVersion(); VersionUtil.getVersion();