fixed ignored test

This commit is contained in:
Juergen Hoeller 2011-07-21 10:34:32 +00:00
parent 48de81deec
commit 1b26b4744f
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);