We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cdac60e commit 3a24c05Copy full SHA for 3a24c05
driver/src/test/java/org/neo4j/driver/integration/reactive/RxTransactionIT.java
@@ -269,10 +269,10 @@ void shouldNotAllowNewQueriesAfterAnIncorrectQuery() {
269
270
@Test
271
void shouldFailBoBeginTxWithInvalidBookmark() {
272
- var session = neo4j.driver()
+ RxSession session = neo4j.driver()
273
.rxSession(builder().withBookmarks(parse("InvalidBookmark")).build());
274
275
- var e = assertThrows(ClientException.class, () -> await(session.beginTransaction()));
+ ClientException e = assertThrows(ClientException.class, () -> await(session.beginTransaction()));
276
assertTrue(e.getMessage().contains("InvalidBookmark")
277
|| e.getMessage().contains("Parsing of supplied bookmarks failed"));
278
}
0 commit comments