Skip to content

Commit f283017

Browse files
committed
Renamed test, removed spurious change
1 parent a2ab77b commit f283017

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

hibernate-core/src/test/java/org/hibernate/orm/test/hql/EnumTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ public void setUp(SessionFactoryScope scope) {
4040
}
4141

4242
@Test
43-
public void testEnumCasting(SessionFactoryScope scope) {
43+
public void testOrdinalFunctionOnEnum(SessionFactoryScope scope) {
4444
scope.inTransaction(session -> {
4545
List<Integer> largeShirtsOrdinalFunction = session.createQuery(
4646
"select ordinal(size)" +

hibernate-core/src/test/java/org/hibernate/orm/test/query/hql/FunctionTests.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,7 @@
6969
import static org.hibernate.testing.orm.domain.gambit.EntityOfBasics.Gender.FEMALE;
7070
import static org.junit.jupiter.api.Assertions.assertArrayEquals;
7171
import static org.junit.jupiter.api.Assertions.assertEquals;
72+
import static org.junit.jupiter.api.Assertions.assertInstanceOf;
7273
import static org.junit.jupiter.api.Assertions.fail;
7374
import static org.junit.jupiter.api.Assertions.assertThrows;
7475

0 commit comments

Comments
 (0)