st-tu-dresden/salespoint

`NoSuchBeanDefinitionException` for tests using `@DataJpaTest`

Closed this issue · 0 comments

SalespointWebSecurityConfiguration declares a dependency to UserDetailsService which cannot be satisfied when running tests using @DataJpaTests. We should let the entire class be @ConditionalOnWebApplication.