fixed ignored test
This commit is contained in:
parent
48de81deec
commit
1b26b4744f
|
|
@ -1685,7 +1685,6 @@ public class HibernateJtaTransactionTests {
|
||||||
sfiControl.verify();
|
sfiControl.verify();
|
||||||
}
|
}
|
||||||
|
|
||||||
@Ignore("getting error on UserTransaction mock")
|
|
||||||
@Test
|
@Test
|
||||||
@SuppressWarnings("rawtypes")
|
@SuppressWarnings("rawtypes")
|
||||||
public void testJtaSessionSynchronizationWithSpringTransactionLaterOn() throws Exception {
|
public void testJtaSessionSynchronizationWithSpringTransactionLaterOn() throws Exception {
|
||||||
|
|
@ -1695,7 +1694,7 @@ public class HibernateJtaTransactionTests {
|
||||||
TransactionManager tm = (TransactionManager) tmControl.getMock();
|
TransactionManager tm = (TransactionManager) tmControl.getMock();
|
||||||
MockJtaTransaction transaction = new MockJtaTransaction();
|
MockJtaTransaction transaction = new MockJtaTransaction();
|
||||||
ut.getStatus();
|
ut.getStatus();
|
||||||
utControl.setReturnValue(Status.STATUS_ACTIVE, 2);
|
utControl.setReturnValue(Status.STATUS_ACTIVE, 1);
|
||||||
tm.getTransaction();
|
tm.getTransaction();
|
||||||
tmControl.setReturnValue(transaction, 6);
|
tmControl.setReturnValue(transaction, 6);
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue