HHH-12147 - Fix tests

This commit is contained in:
Andrea Boriero 2017-12-14 14:35:54 +00:00
parent bd2106d6f8
commit decac7f686
2 changed files with 5 additions and 2 deletions

View File

@ -30,6 +30,8 @@ import org.hibernate.tool.hbm2ddl.SchemaExport;
import org.hibernate.tool.schema.TargetType;
import org.hibernate.testing.RequiresDialect;
import org.hibernate.testing.junit4.BaseNonConfigCoreFunctionalTestCase;
import org.hibernate.testing.junit4.BaseUnitTestCase;
import org.junit.After;
import org.junit.Before;
import org.junit.Test;
@ -41,7 +43,7 @@ import static org.junit.Assert.assertThat;
* @author Andrea Boriero
*/
@RequiresDialect(H2Dialect.class)
public class SequenceGeneratorsTest {
public class SequenceGeneratorsTest extends BaseUnitTestCase {
private StandardServiceRegistry ssr;
private File output;
private MetadataImplementor metadata;

View File

@ -30,6 +30,7 @@ import org.hibernate.tool.hbm2ddl.SchemaExport;
import org.hibernate.tool.schema.TargetType;
import org.hibernate.testing.RequiresDialect;
import org.hibernate.testing.junit4.BaseUnitTestCase;
import org.junit.After;
import org.junit.Before;
import org.junit.Test;
@ -40,7 +41,7 @@ import static org.junit.Assert.assertTrue;
* @author Andrea Boriero
*/
@RequiresDialect(H2Dialect.class)
public class TableGeneratorsTest {
public class TableGeneratorsTest extends BaseUnitTestCase {
private StandardServiceRegistry ssr;
private File output;