From 330f5b70f2ab0ecbc6cdf535b09d0a3f718bb2f7 Mon Sep 17 00:00:00 2001 From: Michael Simons Date: Mon, 7 Jan 2019 14:32:08 +0100 Subject: [PATCH] Upgrade to Neo4j-OGM 3.2.0-alpha04 Closes gh-15937 --- .../boot/actuate/neo4j/Neo4jHealthIndicatorTests.java | 8 ++++---- spring-boot-project/spring-boot-dependencies/pom.xml | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/spring-boot-project/spring-boot-actuator/src/test/java/org/springframework/boot/actuate/neo4j/Neo4jHealthIndicatorTests.java b/spring-boot-project/spring-boot-actuator/src/test/java/org/springframework/boot/actuate/neo4j/Neo4jHealthIndicatorTests.java index 7608667b91c..cfe0d3021aa 100644 --- a/spring-boot-project/spring-boot-actuator/src/test/java/org/springframework/boot/actuate/neo4j/Neo4jHealthIndicatorTests.java +++ b/spring-boot-project/spring-boot-actuator/src/test/java/org/springframework/boot/actuate/neo4j/Neo4jHealthIndicatorTests.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2018 the original author or authors. + * Copyright 2012-2019 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -42,6 +42,7 @@ import static org.mockito.Mockito.mock; * * @author Eric Spiegelberg * @author Stephane Nicoll + * @author Michael Simons */ public class Neo4jHealthIndicatorTests { @@ -77,9 +78,8 @@ public class Neo4jHealthIndicatorTests { @Test public void neo4jDown() { - CypherException cypherException = new CypherException("Error executing Cypher", - "Neo.ClientError.Statement.SyntaxError", - "Unable to execute invalid Cypher"); + CypherException cypherException = new CypherException( + "Neo.ClientError.Statement.SyntaxError", "Error executing Cypher"); given(this.session.query(Neo4jHealthIndicator.CYPHER, Collections.emptyMap())) .willThrow(cypherException); Health health = this.neo4jHealthIndicator.health(); diff --git a/spring-boot-project/spring-boot-dependencies/pom.xml b/spring-boot-project/spring-boot-dependencies/pom.xml index 62a0504b82b..afbce0d6aac 100644 --- a/spring-boot-project/spring-boot-dependencies/pom.xml +++ b/spring-boot-project/spring-boot-dependencies/pom.xml @@ -138,7 +138,7 @@ 6.4.0.jre8 8.0.15 1.9.22 - 3.1.7 + 3.2.0-alpha04 4.1.33.Final 2.0.20.Final 1.1.0