How to test a configuration class in Spring Boot

后端 未结 0 1385
粉色の甜心
粉色の甜心 2021-02-19 17:32

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

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


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