removed unreliable test case from core-java-modules/core-java-date-operations
@@ -7,15 +7,9 @@ import org.junit.Test;
import com.baeldung.datetime.sql.TimeUtils;
import java.text.ParseException;
-import java.util.Date;
public class TimeUtilsUnitTest {
- @Test
- public void givenCurrentTime_thenNowIsReturned() {
- assertEquals(TimeUtils.getNow(), new Date());
- }
-
@Test(expected = IllegalArgumentException.class)
public void givenTimeAsString_whenPatternIsNotRespected_thenExceptionIsThrown() {
TimeUtils.getTime("10 11 12");
