File tree Expand file tree Collapse file tree 2 files changed +2
-1
lines changed
hibernate-core/src/test/java/org/hibernate/orm/test Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Original file line number Diff line number Diff 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)" +
Original file line number Diff line number Diff line change 6969import static org .hibernate .testing .orm .domain .gambit .EntityOfBasics .Gender .FEMALE ;
7070import static org .junit .jupiter .api .Assertions .assertArrayEquals ;
7171import static org .junit .jupiter .api .Assertions .assertEquals ;
72+ import static org .junit .jupiter .api .Assertions .assertInstanceOf ;
7273import static org .junit .jupiter .api .Assertions .fail ;
7374import static org .junit .jupiter .api .Assertions .assertThrows ;
7475
You can’t perform that action at this time.
0 commit comments