JAVA-1526: Fix test configuration
This commit is contained in:
parent
8afe64de3e
commit
c4101d7df7
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue