Skip to content

Commit 41d8b3a

Browse files
committed
Fix missing data cleanup in HANA test after JUnit migration
1 parent 26a89c2 commit 41d8b3a

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

hibernate-core/src/test/java/org/hibernate/orm/test/dialect/function/HANAFunctionsTest.java

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
import org.hibernate.testing.orm.junit.JiraKey;
1717
import org.hibernate.testing.orm.junit.SessionFactory;
1818
import org.hibernate.testing.orm.junit.SessionFactoryScope;
19+
import org.junit.jupiter.api.AfterEach;
1920
import org.junit.jupiter.api.BeforeEach;
2021
import org.junit.jupiter.api.Test;
2122

@@ -34,6 +35,11 @@ public void setup(SessionFactoryScope scope) {
3435
} );
3536
}
3637

38+
@AfterEach
39+
public void cleanupData(SessionFactoryScope scope) {
40+
scope.dropData();
41+
}
42+
3743
@Test
3844
@JiraKey(value = "HHH-12546")
3945
public void testLocateFunction(SessionFactoryScope scope) {

0 commit comments

Comments
 (0)