Skip to content

Commit 2320dca

Browse files
committed
added openjfx-monocle
1 parent ca48f01 commit 2320dca

2 files changed

Lines changed: 8 additions & 2 deletions

File tree

pom.xml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -134,6 +134,13 @@
134134
<version>4.0.16-alpha</version>
135135
<scope>test</scope>
136136
</dependency>
137+
<!-- https://mvnrepository.com/artifact/org.testfx/openjfx-monocle -->
138+
<dependency>
139+
<groupId>org.testfx</groupId>
140+
<artifactId>openjfx-monocle</artifactId>
141+
<version>jdk-12.0.1+2</version>
142+
<scope>test</scope>
143+
</dependency>
137144
</dependencies>
138145
<profiles>
139146
<profile>

src/test/java/de/doubleslash/keeptime/controller/ControllerTest.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,6 @@
3030
import java.util.List;
3131
import java.util.concurrent.TimeUnit;
3232

33-
import javafx.application.Platform;
3433
import org.hamcrest.Matchers;
3534
import org.junit.jupiter.api.*;
3635
import org.junit.jupiter.api.extension.ExtendWith;
@@ -265,7 +264,7 @@ void changeProjectOtherDayTest() {
265264

266265
@Test
267266
void changeProjectOtherDayWithTimeTest() {
268-
final LocalDateTime firstProjectDateTime = LocalDateTime.of(2018, 02, 14, 14, 0);
267+
final LocalDateTime firstProjectDateTime = LocalDateTime.of(2018, 2, 14, 14, 0);
269268
final LocalDateTime secondProjectDateTime = firstProjectDateTime.plusDays(1); // project is create the next day
270269

271270
Mockito.when(mockedDateProvider.dateTimeNow()).thenReturn(firstProjectDateTime);

0 commit comments

Comments
 (0)