From b8abfb8c9b74020a3294a967ea3a3800fac9f7a7 Mon Sep 17 00:00:00 2001 From: Johnny Lim Date: Sun, 29 Dec 2024 10:39:34 +0900 Subject: [PATCH] Remove MavenBuildOutputTimestampTests.shouldParseIso8601WithSeconds() See gh-43625 --- .../boot/maven/MavenBuildOutputTimestampTests.java | 5 ----- 1 file changed, 5 deletions(-) diff --git a/spring-boot-project/spring-boot-tools/spring-boot-maven-plugin/src/test/java/org/springframework/boot/maven/MavenBuildOutputTimestampTests.java b/spring-boot-project/spring-boot-tools/spring-boot-maven-plugin/src/test/java/org/springframework/boot/maven/MavenBuildOutputTimestampTests.java index 516d849ad974..51ddcf6abfce 100644 --- a/spring-boot-project/spring-boot-tools/spring-boot-maven-plugin/src/test/java/org/springframework/boot/maven/MavenBuildOutputTimestampTests.java +++ b/spring-boot-project/spring-boot-tools/spring-boot-maven-plugin/src/test/java/org/springframework/boot/maven/MavenBuildOutputTimestampTests.java @@ -56,11 +56,6 @@ void shouldParseIso8601WithMilliseconds() { assertThat(parse("2011-12-03T10:15:30.123Z")).isEqualTo(Instant.parse("2011-12-03T10:15:30.123Z")); } - @Test - void shouldParseIso8601WithSeconds() { - assertThat(parse("2011-12-03T10:15:30Z")).isEqualTo(Instant.parse("2011-12-03T10:15:30.000Z")); - } - @Test void shouldFailIfIso8601BeforeMin() { assertThatIllegalArgumentException().isThrownBy(() -> parse("1970-01-01T00:00:00Z"))