DATAES-847 - Polishing.

This commit is contained in:
Peter-Josef Meisch
2020-05-29 19:01:27 +02:00
parent fa317014a7
commit d26dfbba70
2 changed files with 52 additions and 11 deletions

View File

@@ -79,7 +79,7 @@ class ElasticsearchDateConverterTests {
assertThat(parsed).isEqualTo(legacyDate);
}
@Test
@Test // DATAES-847
void shouldParseEpochMillisString() {
Instant instant = Instant.ofEpochMilli(1234568901234L);
ElasticsearchDateConverter converter = ElasticsearchDateConverter.of(DateFormat.epoch_millis);
@@ -89,7 +89,7 @@ class ElasticsearchDateConverterTests {
assertThat(parsed.toInstant()).isEqualTo(instant);
}
@Test
@Test // DATAES-847
void shouldConvertInstantToString() {
Instant instant = Instant.ofEpochMilli(1234568901234L);
ElasticsearchDateConverter converter = ElasticsearchDateConverter.of(DateFormat.epoch_millis);