Commit 997354d0981ce5aecfef727432375851b946e2c6
1 parent
1ed97643
Exists in
master
Correção de bug no método rollbackWithSuccess
Showing
1 changed file
with
2 additions
and
2 deletions
Show diff stats
impl/extension/jpa/src/test/java/transaction/interceptor/JPATransactionTest.java
| ... | ... | @@ -82,8 +82,8 @@ public class JPATransactionTest { |
| 82 | 82 | Assert.assertEquals("Exceção criada para marcar transação para rollback", e.getMessage()); |
| 83 | 83 | } |
| 84 | 84 | finally{ |
| 85 | - MyEntity1 entity1 = em1.find(MyEntity1.class, tb.createId("id-1")); | |
| 86 | - MyEntity2 entity2 = em2.find(MyEntity2.class, tb.createId("id-2")); | |
| 85 | + MyEntity1 entity1 = em1.find(MyEntity1.class, tb.createId("id-3")); | |
| 86 | + MyEntity2 entity2 = em2.find(MyEntity2.class, tb.createId("id-4")); | |
| 87 | 87 | |
| 88 | 88 | Assert.assertNull(entity1); |
| 89 | 89 | Assert.assertNull(entity2); | ... | ... |