Skip to content

Commit

Permalink
Update variable declarations
Browse files Browse the repository at this point in the history
  • Loading branch information
injectives committed Jun 28, 2023
1 parent cdac60e commit 3a24c05
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -269,10 +269,10 @@ void shouldNotAllowNewQueriesAfterAnIncorrectQuery() {

@Test
void shouldFailBoBeginTxWithInvalidBookmark() {
var session = neo4j.driver()
RxSession session = neo4j.driver()
.rxSession(builder().withBookmarks(parse("InvalidBookmark")).build());

var e = assertThrows(ClientException.class, () -> await(session.beginTransaction()));
ClientException e = assertThrows(ClientException.class, () -> await(session.beginTransaction()));
assertTrue(e.getMessage().contains("InvalidBookmark")
|| e.getMessage().contains("Parsing of supplied bookmarks failed"));
}
Expand Down

0 comments on commit 3a24c05

Please sign in to comment.