JAVA-1526: Fix test configuration

This commit is contained in:
Krzysztof Woyke 2020-05-20 14:50:33 +02:00
parent 8afe64de3e
commit c4101d7df7
1 changed files with 1 additions and 1 deletions

View File

@ -9,7 +9,7 @@ import org.springframework.context.annotation.ComponentScan;
import com.baeldung.configurationproperties.ConfigProperties;
@SpringBootApplication
@ComponentScan(basePackageClasses = ConfigProperties.class)
@ComponentScan(basePackageClasses = {ConfigProperties.class, AdditionalProperties.class})
public class ConfigPropertiesDemoApplication {
public static void main(String[] args) {
SpringApplication.run(ConfigPropertiesDemoApplication.class, args);