From affdbeef41b1ff468feaf1eb675f38e3590226e0 Mon Sep 17 00:00:00 2001 From: Andy Wilkinson Date: Thu, 7 Mar 2019 10:08:39 +0000 Subject: [PATCH] Polish --- .../boot/actuate/neo4j/Neo4jHealthIndicatorTests.java | 4 ++-- 1 file changed, 2 insertions(+), 2 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 e7e94d35d11..c5ebaecd869 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-2017 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. @@ -77,7 +77,7 @@ public class Neo4jHealthIndicatorTests { @Test public void neo4jDown() { - CypherException cypherException = new CypherException("Error executing Cypher", + CypherException cypherException = new CypherException( "Neo.ClientError.Statement.SyntaxError", "Unable to execute invalid Cypher"); given(this.session.query(Neo4jHealthIndicator.CYPHER, Collections.emptyMap()))