renamed profiles and removed unnecessary@DirtiesContext annotation so the Test suite now runs in 40% less time

This commit is contained in:
Mic 2013-01-29 17:47:45 +08:00
parent 87e08f7b99
commit 3482d549ea
14 changed files with 11 additions and 31 deletions

View file

@ -62,7 +62,7 @@
<beans profile="jpa">
<beans profile="jpa,spring-data-jpa">
<!-- JPA EntityManagerFactory -->
<bean id="entityManagerFactory" class="org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean"
p:dataSource-ref="dataSource">
@ -109,7 +109,7 @@
</beans>
<beans profile="plain-jpa">
<beans profile="jpa">
<!--
Will automatically be transactional due to @Transactional.
EntityManager will be auto-injected due to @PersistenceContext.