File tree Expand file tree Collapse file tree 1 file changed +2
-9
lines changed
hibernate-reactive-core/src/test/java/org/hibernate/reactive Expand file tree Collapse file tree 1 file changed +2
-9
lines changed Original file line number Diff line number Diff line change @@ -149,15 +149,8 @@ public void testOffsetTime(TestContext context) {
149
149
context ,
150
150
"offsetTime" ,
151
151
thing ::getOffsetTime ,
152
- entity -> {
153
- // UTC is what we have set as the default with AvailableSettings.JDBC_TIME_ZONE
154
- // this first check fails due to changes in ORM org.hibernate.type.descriptor.java.OffsetTimeJavaType.unwrap(...)
155
- // TODO: investigate whether this first check makes sense
156
- // context.assertEquals( ZoneOffset.UTC, entity.offsetTime.getOffset() );
157
- context .assertEquals ( thing .offsetTime , entity .offsetTime .withOffsetSameInstant ( ZoneOffset .ofHours ( 7 ) )
158
- );
159
- }
160
- );
152
+ // Same behavior as ORM
153
+ entity -> context .assertEquals ( thing .offsetTime , entity .offsetTime .withOffsetSameInstant ( ZoneOffset .ofHours ( 7 ) ) ) );
161
154
}
162
155
163
156
@ Test
You can’t perform that action at this time.
0 commit comments