Skip to content
This repository was archived by the owner on Jul 6, 2023. It is now read-only.

Commit 2732f2f

Browse files
committed
Upgrade to Neo4j Java driver 4.0.0-rc2
1 parent 1c82665 commit 2732f2f

File tree

2 files changed

+15
-1
lines changed

2 files changed

+15
-1
lines changed

build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ ext {
7070
argparse4jVersion = '0.7.0'
7171
junitVersion = '4.12'
7272
evaluatorVersion = '3.5.4'
73-
neo4jJavaDriverVersion = '4.0.0-rc1'
73+
neo4jJavaDriverVersion = '4.0.0-rc2'
7474
findbugsVersion = '3.0.0'
7575
jansiVersion = '1.13'
7676
jlineVersion = '2.14.6'

cypher-shell/src/test/java/org/neo4j/shell/test/bolt/FakeDriver.java

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@
1111

1212
import java.util.concurrent.CompletionStage;
1313

14+
import static java.util.concurrent.CompletableFuture.completedFuture;
15+
1416
public class FakeDriver implements Driver {
1517
@Override
1618
public boolean isEncrypted() {
@@ -79,4 +81,16 @@ public void verifyConnectivity() {
7981
public CompletionStage<Void> verifyConnectivityAsync() {
8082
return null;
8183
}
84+
85+
@Override
86+
public boolean supportsMultiDb()
87+
{
88+
return true;
89+
}
90+
91+
@Override
92+
public CompletionStage<Boolean> supportsMultiDbAsync()
93+
{
94+
return completedFuture(true);
95+
}
8296
}

0 commit comments

Comments
 (0)