Skip to content

Commit 3ec80b7

Browse files
committed
HHH-19846 - Drop JUnit 4 usage
Cannot convert... * org.hibernate.orm.test.hql.PostgreSQLFunctionSelectClauseTest - registering custom function * org.hibernate.orm.test.hql.PostgreSQLFunctionWhereClauseTest - aux-db-object * org.hibernate.orm.test.id.usertype - type registrations * org.hibernate.orm.test.idgen.enhanced.HiloOptimizerConcurrencyTest - recreation of SF during tests
1 parent 373eec7 commit 3ec80b7

File tree

7 files changed

+294
-386
lines changed

7 files changed

+294
-386
lines changed

hibernate-core/src/test/java/org/hibernate/orm/test/annotations/naturalid/ByteArrayNaturalIdTest.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@
2121
import static org.assertj.core.api.AssertionsForClassTypes.assertThat;
2222

2323

24+
@SuppressWarnings("JUnitMalformedDeclaration")
2425
@DomainModel(
2526
annotatedClasses = {
2627
ByteArrayNaturalIdTest.TestEntity.class,
@@ -31,12 +32,11 @@
3132
@SkipForDialect(dialectClass = InformixDialect.class,
3233
reason = "Blobs are not allowed in this expression (equality test with column of type BYTE)")
3334
public class ByteArrayNaturalIdTest {
34-
3535
private static final String NATURAL_ID_1 = "N1";
3636

3737
@AfterEach
38-
public void tearDown(SessionFactoryScope scope) {
39-
scope.getSessionFactory().getSchemaManager().truncate();
38+
public void dropTestData(SessionFactoryScope scope) {
39+
scope.dropData();
4040
}
4141

4242
@Test

0 commit comments

Comments
 (0)