Skip to content

Commit

Permalink
30. Modify BatchOperationIT
Browse files Browse the repository at this point in the history
The test was expecting a CypherTypeException to be thrown, but that will not happen now that maps are supported as storables in neo4j
  • Loading branch information
fferegrino committed Jul 24, 2018
1 parent 7f0a9c1 commit 9002286
Showing 1 changed file with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -375,8 +375,6 @@ public void shouldHandleFailingCypherStatementCorrectly() throws Exception
Map<String, Object> 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
Expand Down

0 comments on commit 9002286

Please sign in to comment.