HHH-11882 - Fix test causing failures

This commit is contained in:
Andrea Boriero 2017-08-08 14:35:29 +02:00
parent af4f63aff7
commit bc05ff24bc

View File

@ -50,8 +50,6 @@ protected void addConfigOptions(Map options) {
@Before @Before
public void prepare() throws Exception { public void prepare() throws Exception {
buildEntityManagerFactory();
EntityPersister ep = entityManagerFactory().getMetamodel().entityPersister( EntityWithLazyProperty.class.getName() ); EntityPersister ep = entityManagerFactory().getMetamodel().entityPersister( EntityWithLazyProperty.class.getName() );
assertTrue( ep.getInstrumentationMetadata().isEnhancedForLazyLoading() ); assertTrue( ep.getInstrumentationMetadata().isEnhancedForLazyLoading() );