Update versions in libraries (#2543)
* Bump datanucleus versions * Update HikariCP * Update Hoverfly-java
This commit is contained in:
parent
6d797a2cc3
commit
aaa3d117e2
@ -190,7 +190,7 @@
|
|||||||
<dependency>
|
<dependency>
|
||||||
<groupId>io.specto</groupId>
|
<groupId>io.specto</groupId>
|
||||||
<artifactId>hoverfly-java</artifactId>
|
<artifactId>hoverfly-java</artifactId>
|
||||||
<version>0.8.0</version>
|
<version>0.8.1</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>org.apache.httpcomponents</groupId>
|
<groupId>org.apache.httpcomponents</groupId>
|
||||||
@ -295,22 +295,22 @@
|
|||||||
<dependency>
|
<dependency>
|
||||||
<groupId>org.datanucleus</groupId>
|
<groupId>org.datanucleus</groupId>
|
||||||
<artifactId>javax.jdo</artifactId>
|
<artifactId>javax.jdo</artifactId>
|
||||||
<version>3.2.0-m6</version>
|
<version>3.2.0-m7</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>org.datanucleus</groupId>
|
<groupId>org.datanucleus</groupId>
|
||||||
<artifactId>datanucleus-core</artifactId>
|
<artifactId>datanucleus-core</artifactId>
|
||||||
<version>5.1.0-m1</version>
|
<version>5.1.1</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>org.datanucleus</groupId>
|
<groupId>org.datanucleus</groupId>
|
||||||
<artifactId>datanucleus-api-jdo</artifactId>
|
<artifactId>datanucleus-api-jdo</artifactId>
|
||||||
<version>5.1.0-m1</version>
|
<version>5.1.1</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>org.datanucleus</groupId>
|
<groupId>org.datanucleus</groupId>
|
||||||
<artifactId>datanucleus-rdbms</artifactId>
|
<artifactId>datanucleus-rdbms</artifactId>
|
||||||
<version>5.1.0-m1</version>
|
<version>5.1.1</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>org.datanucleus</groupId>
|
<groupId>org.datanucleus</groupId>
|
||||||
@ -364,7 +364,7 @@
|
|||||||
<dependency>
|
<dependency>
|
||||||
<groupId>com.zaxxer</groupId>
|
<groupId>com.zaxxer</groupId>
|
||||||
<artifactId>HikariCP</artifactId>
|
<artifactId>HikariCP</artifactId>
|
||||||
<version>2.6.1</version>
|
<version>2.6.3</version>
|
||||||
<scope>compile</scope>
|
<scope>compile</scope>
|
||||||
</dependency>
|
</dependency>
|
||||||
<dependency>
|
<dependency>
|
||||||
@ -565,7 +565,7 @@
|
|||||||
<serenity.jira.version>1.1.3-rc.5</serenity.jira.version>
|
<serenity.jira.version>1.1.3-rc.5</serenity.jira.version>
|
||||||
<serenity.plugin.version>1.4.0</serenity.plugin.version>
|
<serenity.plugin.version>1.4.0</serenity.plugin.version>
|
||||||
<jUnitParams.version>1.1.0</jUnitParams.version>
|
<jUnitParams.version>1.1.0</jUnitParams.version>
|
||||||
<netty.version>4.1.10.Final</netty.version>
|
<netty.version>4.1.15.Final</netty.version>
|
||||||
<commons.collections.version>4.1</commons.collections.version>
|
<commons.collections.version>4.1</commons.collections.version>
|
||||||
<junit.version>4.12</junit.version>
|
<junit.version>4.12</junit.version>
|
||||||
<java-lsh.version>0.10</java-lsh.version>
|
<java-lsh.version>0.10</java-lsh.version>
|
||||||
|
@ -28,17 +28,6 @@ public class DateDiffUnitTest {
|
|||||||
assertEquals(diff, 6);
|
assertEquals(diff, 6);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
|
||||||
public void givenTwoDatesInJava8_whenDifferentiating_thenWeGetSix() {
|
|
||||||
LocalDate now = LocalDate.now();
|
|
||||||
LocalDate sixDaysBehind = now.minusDays(6);
|
|
||||||
|
|
||||||
Duration duration = Duration.between(now, sixDaysBehind);
|
|
||||||
long diff = Math.abs(duration.toDays());
|
|
||||||
|
|
||||||
assertEquals(diff, 6);
|
|
||||||
}
|
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
public void givenTwoDateTimesInJava8_whenDifferentiating_thenWeGetSix() {
|
public void givenTwoDateTimesInJava8_whenDifferentiating_thenWeGetSix() {
|
||||||
LocalDateTime now = LocalDateTime.now();
|
LocalDateTime now = LocalDateTime.now();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user