Update tests

This commit is contained in:
anujgaud 2023-11-29 01:51:58 +05:30 committed by GitHub
parent fcc9c4c6ce
commit ecba15ffb7
1 changed files with 3 additions and 3 deletions

View File

@ -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);
}