Skip to content

Commit

Permalink
StartupConfiguration: fix of config file creation for tests
Browse files Browse the repository at this point in the history
  • Loading branch information
virgo47 committed Mar 22, 2022
1 parent 5311342 commit 48d5b07
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,8 @@ private void loadConfiguration() {
LOGGER.info("Loading midPoint configuration from file {}", configFile.getAbsolutePath());
try {
// If the config name is set explicitly, we don't want to unpack the default file.
if (!configFile.exists() && DEFAULT_CONFIG_FILE_NAME.equals(configFilename)) {
if (!configFile.exists()
&& System.getProperty(MidpointConfiguration.MIDPOINT_CONFIG_FILE_PROPERTY) == null) {
extractConfigurationFile(configFile);
}
createXmlConfiguration(configFile.getPath());
Expand Down

0 comments on commit 48d5b07

Please sign in to comment.