Removed the property sources configurer from the test
(1770)
@@ -30,7 +30,6 @@ import org.springframework.context.annotation.Bean
import org.springframework.context.annotation.ComponentScan
import org.springframework.context.annotation.Configuration
import org.springframework.context.annotation.Import
-import org.springframework.context.support.PropertySourcesPlaceholderConfigurer
import org.springframework.http.HttpStatus
import org.springframework.http.MediaType
import org.springframework.http.RequestEntity
@@ -198,13 +197,5 @@ class FunctionContractSpec extends Specification implements FileAccess {
AlternateTypeRuleConvention jacksonSerializerConvention(TypeResolver resolver) {
new JacksonSerializerConvention(resolver, "springfox.documentation.spring.web.dummy.models")
}
-
- @Bean
- static PropertySourcesPlaceholderConfigurer properties() throws Exception {
- final PropertySourcesPlaceholderConfigurer configurer =
- new PropertySourcesPlaceholderConfigurer()
- configurer.setIgnoreUnresolvablePlaceholders(false)
- return configurer
- }
}
}
\ No newline at end of file
