diff --git a/community/server/src/test/java/org/neo4j/server/rest/BatchOperationIT.java b/community/server/src/test/java/org/neo4j/server/rest/BatchOperationIT.java index 1504d88f95e2..06f0d0cf3f60 100644 --- a/community/server/src/test/java/org/neo4j/server/rest/BatchOperationIT.java +++ b/community/server/src/test/java/org/neo4j/server/rest/BatchOperationIT.java @@ -375,8 +375,6 @@ public void shouldHandleFailingCypherStatementCorrectly() throws Exception Map result = JsonHelper.jsonToMap(entity); String exception = (String) result.get("exception"); assertThat(exception, is("BatchOperationFailedException")); - String innerException = (String) JsonHelper.jsonToMap((String) result.get("message")).get("exception"); - assertThat(innerException, is("CypherTypeException")); } @Test