diff --git a/hibernate-entitymanager/src/test/java/org/hibernate/jpa/test/cdi/BasicCDITest.java b/hibernate-entitymanager/src/test/java/org/hibernate/jpa/test/cdi/BasicCDITest.java index a755cb2982..a15615f668 100644 --- a/hibernate-entitymanager/src/test/java/org/hibernate/jpa/test/cdi/BasicCDITest.java +++ b/hibernate-entitymanager/src/test/java/org/hibernate/jpa/test/cdi/BasicCDITest.java @@ -116,6 +116,7 @@ public class BasicCDITest extends BaseCDIIntegrationTest { events = new ArrayList(); } events.add( anEvent ); + count++; } } @@ -156,7 +157,6 @@ public class BasicCDITest extends BaseCDIIntegrationTest { eventQueue.addEvent( new Event( entity.toString(), "created", now() ) ); - count++; } private String now() {