HHH-7478 Corrected test

This commit is contained in:
Brett Meyer 2013-04-11 19:00:21 -04:00
parent 0958313ebc
commit 934e7476a3
1 changed files with 2 additions and 9 deletions

View File

@ -1,8 +1,5 @@
package org.hibernate.envers.test.integration.basic;
import org.junit.Assert;
import org.junit.Test;
import org.hibernate.Session;
import org.hibernate.action.spi.AfterTransactionCompletionProcess;
import org.hibernate.action.spi.BeforeTransactionCompletionProcess;
@ -14,8 +11,9 @@ import org.hibernate.event.service.spi.EventListenerRegistry;
import org.hibernate.event.spi.EventType;
import org.hibernate.event.spi.PostInsertEvent;
import org.hibernate.event.spi.PostInsertEventListener;
import org.hibernate.persister.entity.EntityPersister;
import org.hibernate.testing.TestForIssue;
import org.junit.Assert;
import org.junit.Test;
/**
* @author Lukasz Antoniak (lukasz dot antoniak at gmail dot com)
@ -67,11 +65,6 @@ public class RegisterUserEventListenersTest extends BaseEnversFunctionalTestCase
});
}
@Override
public boolean requiresPostCommitHanding(EntityPersister persister) {
return true;
}
public int getBeforeCount() {
return beforeCounter.get();
}