committed by
Mark Paluch
parent
fbd214f72e
commit
0e7aef080f
@@ -57,13 +57,13 @@ class AotFragmentTestConfigurationSupport implements BeanFactoryPostProcessor {
|
||||
|
||||
public AotFragmentTestConfigurationSupport(Class<?> repositoryInterface) {
|
||||
this.repositoryInterface = repositoryInterface;
|
||||
this.repositoryContext = new TestJpaAotRepositoryContext<>(UserRepository.class, null);
|
||||
this.repositoryContext = new TestJpaAotRepositoryContext<>(repositoryInterface, null);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void postProcessBeanFactory(ConfigurableListableBeanFactory beanFactory) throws BeansException {
|
||||
|
||||
TestGenerationContext generationContext = new TestGenerationContext(UserRepository.class);
|
||||
TestGenerationContext generationContext = new TestGenerationContext(repositoryInterface);
|
||||
|
||||
new JpaRepositoryContributor(repositoryContext).contribute(generationContext);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user