From 662ed33e97bd8e693fac1c0d21fc2b0deeaccc9d Mon Sep 17 00:00:00 2001 From: Jeffrey Bakker Date: Sun, 6 Aug 2017 15:09:42 +0200 Subject: [PATCH] fix LogServiceTest --- src/test/java/honours/ing/banq/log/LogServiceTest.java | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/test/java/honours/ing/banq/log/LogServiceTest.java b/src/test/java/honours/ing/banq/log/LogServiceTest.java index 36e00f6..d958083 100644 --- a/src/test/java/honours/ing/banq/log/LogServiceTest.java +++ b/src/test/java/honours/ing/banq/log/LogServiceTest.java @@ -19,15 +19,13 @@ */ public class LogServiceTest extends BoilerplateTest { - private static final DateFormat DATE_FORMAT = new SimpleDateFormat("yyyy-MM-dd"); - @Autowired private LogService log; @Test public void getEventLogs() throws Exception { List logs = log.getEventLogs( - DATE_FORMAT.format(new Date(1)), DATE_FORMAT.format(timeService.getDate().getDate())); + "1970-1-1", "2100-1-1"); assertTrue(logs.size() > 0); }