File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
sentry/src/test/java/io/sentry/util Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -63,7 +63,7 @@ class MapObjectWriterTest {
6363 writer.name(" InetAddress" ).value(logger, Inet4Address .getByName(" 1.1.1.1" ))
6464 writer.name(" UUID" ).value(logger, UUID .fromString(" 00000000-1111-2222-3333-444444444444" ))
6565 writer.name(" Currency" ).value(logger, Currency .getInstance(" EUR" ))
66- writer.name(" Calendar" ).value(logger, Calendar .getInstance().apply { timeInMillis = 0 })
66+ writer.name(" Calendar" ).value(logger, Calendar .getInstance(TimeZone .getTimeZone( " UTC " ) ).apply { timeInMillis = 0 })
6767 writer.name(" Enum" ).value(logger, BasicEnum .A )
6868
6969 assertEquals(null , data[" null" ])
@@ -98,7 +98,7 @@ class MapObjectWriterTest {
9898 kotlin.Pair (" month" , 0 ),
9999 kotlin.Pair (" year" , 1970 ),
100100 kotlin.Pair (" dayOfMonth" , 1 ),
101- kotlin.Pair (" hourOfDay" , 1 ),
101+ kotlin.Pair (" hourOfDay" , 0 ),
102102 kotlin.Pair (" minute" , 0 ),
103103 kotlin.Pair (" second" , 0 )
104104 ),
You can’t perform that action at this time.
0 commit comments