Apr 26th, 2012, 08:56 AM
I was using the org.springframework.test.AbstractTransactionalSpri ngContextTests class.
It is deprecated with Spring 3 and replaced with AbstractJUnit38SpringContextTests but what do I have to use instead of the methods setComplete() and endTransaction() ?
Thanks in advance
May 9th, 2012, 01:41 PM
The JUnit 3.8 support is entirely deprecated in Spring 3.1. You should therefore use either JUnit 4 or TestNG instead.
Regarding the old setComplete() and endTransaction() methods, those methods are no longer available. However, there is a JIRA issue to address this in a future release of Spring.
Please see the JIRA issue for further details: https://jira.springsource.org/browse/SPR-5079