Skip to content

Commit c62da41

Browse files
committed
Update tests to reflect changes in FasterXML/jackson-databind#2643
1 parent 1275b09 commit c62da41

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

fusion-endpoint/src/test/java/com/vaadin/fusion/typeconversion/DateTimeConversionTest.java

+3-3
Original file line numberDiff line numberDiff line change
@@ -23,23 +23,23 @@ public class DateTimeConversionTest extends BaseTypeConversionTest {
2323
@Test
2424
public void should_ConvertToDate_When_ReceiveATimeStampAsNumber() {
2525
String timeStamp = "1546300800000"; // 01-01-2019 00:00:00
26-
String expectedValue = "\"2019-01-02T00:00:00.000+0000\"";
26+
String expectedValue = "\"2019-01-02T00:00:00.000+00:00\"";
2727
assertEqualExpectedValueWhenCallingMethod("addOneDayToDate", timeStamp,
2828
expectedValue);
2929
}
3030

3131
@Test
3232
public void should_ConvertToDate_When_ReceiveATimeStampAsString() {
3333
String timeStamp = "\"1546300800000\""; // 01-01-2019 00:00:00
34-
String expected = "\"2019-01-02T00:00:00.000+0000\"";
34+
String expected = "\"2019-01-02T00:00:00.000+00:00\"";
3535
assertEqualExpectedValueWhenCallingMethod("addOneDayToDate", timeStamp,
3636
expected);
3737
}
3838

3939
@Test
4040
public void should_ConvertToDate_When_ReceiveADate() {
4141
String inputDate = "\"2019-01-01\"";
42-
String expectedTimestamp = "\"2019-01-02T00:00:00.000+0000\"";
42+
String expectedTimestamp = "\"2019-01-02T00:00:00.000+00:00\"";
4343
assertEqualExpectedValueWhenCallingMethod("addOneDayToDate", inputDate,
4444
expectedTimestamp);
4545
}

0 commit comments

Comments
 (0)