fixed ignored test

git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@4755 50f2f4bb-b051-0410-bef5-90022cba6387
This commit is contained in:
Juergen Hoeller 2011-07-21 10:34:32 +00:00
parent 0a9e986899
commit b6d3c6f46a
1 changed files with 1 additions and 2 deletions

View File

@ -1685,7 +1685,6 @@ public class HibernateJtaTransactionTests {
sfiControl.verify();
}
@Ignore("getting error on UserTransaction mock")
@Test
@SuppressWarnings("rawtypes")
public void testJtaSessionSynchronizationWithSpringTransactionLaterOn() throws Exception {
@ -1695,7 +1694,7 @@ public class HibernateJtaTransactionTests {
TransactionManager tm = (TransactionManager) tmControl.getMock();
MockJtaTransaction transaction = new MockJtaTransaction();
ut.getStatus();
utControl.setReturnValue(Status.STATUS_ACTIVE, 2);
utControl.setReturnValue(Status.STATUS_ACTIVE, 1);
tm.getTransaction();
tmControl.setReturnValue(transaction, 6);