Commit 330f5b70 authored by Michael Simons's avatar Michael Simons Committed by Andy Wilkinson

Upgrade to Neo4j-OGM 3.2.0-alpha04

Closes gh-15937
parent 7a8104ac
/* /*
* 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"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
...@@ -42,6 +42,7 @@ import static org.mockito.Mockito.mock; ...@@ -42,6 +42,7 @@ import static org.mockito.Mockito.mock;
* *
* @author Eric Spiegelberg * @author Eric Spiegelberg
* @author Stephane Nicoll * @author Stephane Nicoll
* @author Michael Simons
*/ */
public class Neo4jHealthIndicatorTests { public class Neo4jHealthIndicatorTests {
...@@ -77,9 +78,8 @@ public class Neo4jHealthIndicatorTests { ...@@ -77,9 +78,8 @@ public class Neo4jHealthIndicatorTests {
@Test @Test
public void neo4jDown() { public void neo4jDown() {
CypherException cypherException = new CypherException("Error executing Cypher", CypherException cypherException = new CypherException(
"Neo.ClientError.Statement.SyntaxError", "Neo.ClientError.Statement.SyntaxError", "Error executing Cypher");
"Unable to execute invalid Cypher");
given(this.session.query(Neo4jHealthIndicator.CYPHER, Collections.emptyMap())) given(this.session.query(Neo4jHealthIndicator.CYPHER, Collections.emptyMap()))
.willThrow(cypherException); .willThrow(cypherException);
Health health = this.neo4jHealthIndicator.health(); Health health = this.neo4jHealthIndicator.health();
......
...@@ -138,7 +138,7 @@ ...@@ -138,7 +138,7 @@
<mssql-jdbc.version>6.4.0.jre8</mssql-jdbc.version> <mssql-jdbc.version>6.4.0.jre8</mssql-jdbc.version>
<mysql.version>8.0.15</mysql.version> <mysql.version>8.0.15</mysql.version>
<nekohtml.version>1.9.22</nekohtml.version> <nekohtml.version>1.9.22</nekohtml.version>
<neo4j-ogm.version>3.1.7</neo4j-ogm.version> <neo4j-ogm.version>3.2.0-alpha04</neo4j-ogm.version>
<netty.version>4.1.33.Final</netty.version> <netty.version>4.1.33.Final</netty.version>
<netty-tcnative.version>2.0.20.Final</netty-tcnative.version> <netty-tcnative.version>2.0.20.Final</netty-tcnative.version>
<nio-multipart-parser.version>1.1.0</nio-multipart-parser.version> <nio-multipart-parser.version>1.1.0</nio-multipart-parser.version>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment