Skip to content

Commit

Permalink
[SHIBUI-2249]
Browse files Browse the repository at this point in the history
rework test
  • Loading branch information
jj committed Nov 3, 2021
1 parent 3e7ea4b commit 1efd9f1
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,7 @@ class EntityDescriptorVersionControllerTests extends AbstractBaseDataJpaTest {
})
entityDescriptorRepository.saveAndFlush(ed)
testEntityManager.getEntityManager().getTransaction().commit() // get envers to write version
testEntityManager.getEntityManager().clear()
}

/**
Expand Down Expand Up @@ -165,4 +166,4 @@ class EntityDescriptorVersionControllerTests extends AbstractBaseDataJpaTest {
return new EnversVersionServiceSupport(entityManager)
}
}
}
}

0 comments on commit 1efd9f1

Please sign in to comment.