How to test a configuration class in Spring Boot

后端 未结 0 1337
傲寒
傲寒 2021-02-19 17:14

I have the following Spring Boot configuration class so that an index is created in our MongoDB:

@Configuration
@DependsOn("mongoTemplate")
@Profile({ &         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题