We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 326f496 commit 1aff63fCopy full SHA for 1aff63f
ethereum/statetransition/src/test/java/tech/pegasys/teku/statetransition/util/DebugDataDumperTest.java
@@ -158,8 +158,8 @@ void constructionOfDirectories_shouldDisableWhenFailedToCreate(@TempDir Path tem
158
@Test
159
void formatTimestamp_shouldFormatDate() {
160
final String formattedTimestamp =
161
- DebugDataDumper.formatTimestamp(Optional.of(dataStructureUtil.randomUInt64()));
162
- assertThat(formattedTimestamp).isEqualTo("147882977-02-28T19:22:42.956");
+ DebugDataDumper.formatTimestamp(Optional.of(timeProvider.getTimeInMillis()));
+ assertThat(formattedTimestamp).isEqualTo("1970-01-01T12:46:40.00");
163
}
164
165
0 commit comments