Update tests
This commit is contained in:
parent
fcc9c4c6ce
commit
ecba15ffb7
|
@ -11,7 +11,7 @@ public class LocalDateToISOUnitTest {
|
|||
LocalDateToISO localDateToISO = new LocalDateToISO();
|
||||
LocalDate localDate = LocalDate.of(2023, 11, 6);
|
||||
|
||||
String expected = "2023-11-06T00:00:00Z";
|
||||
String expected = "2023-11-06T00:00:00.000Z";
|
||||
String actual = localDateToISO.formatUsingDateTimeFormatter(localDate);
|
||||
assertEquals(expected, actual);
|
||||
}
|
||||
|
@ -21,7 +21,7 @@ public class LocalDateToISOUnitTest {
|
|||
LocalDateToISO localDateToISO = new LocalDateToISO();
|
||||
LocalDate localDate = LocalDate.of(2023, 11, 6);
|
||||
|
||||
String expected = "2023-11-06T00:00:00Z";
|
||||
String expected = "2023-11-06T00:00:00.000Z";
|
||||
String actual = localDateToISO.formatUsingSimpleDateFormat(localDate);
|
||||
assertEquals(expected, actual);
|
||||
}
|
||||
|
@ -31,7 +31,7 @@ public class LocalDateToISOUnitTest {
|
|||
LocalDateToISO localDateToISO = new LocalDateToISO();
|
||||
org.joda.time.LocalDate localDate = new org.joda.time.LocalDate(2023, 11, 6);
|
||||
|
||||
String expected = "2023-11-06T00:00:00Z";
|
||||
String expected = "2023-11-06T00:00:00.000Z";
|
||||
String actual = localDateToISO.formatUsingJodaTime(localDate);
|
||||
assertEquals(expected, actual);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue