Skip to content

Commit 5f92fc2

Browse files
committed
removed unreliable test case from core-java-modules/core-java-date-operations
1 parent 78fc601 commit 5f92fc2

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

core-java-modules/core-java-date-operations/src/test/java/com/baeldung/datetime/sql/TimeUtilsUnitTest.java

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,15 +7,9 @@
77
import com.baeldung.datetime.sql.TimeUtils;
88

99
import java.text.ParseException;
10-
import java.util.Date;
1110

1211
public class TimeUtilsUnitTest {
1312

14-
@Test
15-
public void givenCurrentTime_thenNowIsReturned() {
16-
assertEquals(TimeUtils.getNow(), new Date());
17-
}
18-
1913
@Test(expected = IllegalArgumentException.class)
2014
public void givenTimeAsString_whenPatternIsNotRespected_thenExceptionIsThrown() {
2115
TimeUtils.getTime("10 11 12");

0 commit comments

Comments
 (0)