You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
And we also need to load specific @Configuration's for the integration tests, then we need to ensure they are placed in the specific package testjars.authorizationserver. The testjars package is fixed and the authorizationserver sub-package corresponds to the @Bean name.
If we have 10x different integration tests that have their own specific @Configuration's then it appears we would also need to define 10x authorizationServer@Bean?
I wonder if we can come up with a more flexible strategy for loading specific @Configuration's and reusing the same authorizationServer()@Bean?
The text was updated successfully, but these errors were encountered:
NOTE Adding the configurations to the class path does not mean that they will be used by Spring. For that to work, you need to ensure that there is something loading the configurations too (e.g. a @ComponentScan that picks up the configurations).
If we configure the following
authorizationServer()
@Bean
for integration testing purposes:And we also need to load specific
@Configuration
's for the integration tests, then we need to ensure they are placed in the specific packagetestjars.authorizationserver
. Thetestjars
package is fixed and theauthorizationserver
sub-package corresponds to the@Bean
name.If we have 10x different integration tests that have their own specific
@Configuration
's then it appears we would also need to define 10xauthorizationServer
@Bean
?I wonder if we can come up with a more flexible strategy for loading specific
@Configuration
's and reusing the sameauthorizationServer()
@Bean
?The text was updated successfully, but these errors were encountered: