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

Commit 9daf896

Browse files
committed
Fix tests
1 parent 2e3a853 commit 9daf896

File tree

2 files changed

+1
-8
lines changed

2 files changed

+1
-8
lines changed

cypher-shell/src/test/java/org/neo4j/shell/ConnectionConfigTest.java

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -43,14 +43,6 @@ public void driverUrlDefaultScheme() throws Exception {
4343
assertEquals("bolt://localhost:1", config.driverUrl());
4444
}
4545

46-
@Test
47-
public void driverUrlRoutingScheme() throws Exception {
48-
ConnectionConfig config = new ConnectionConfig(logger, "bolt+routing://", "localhost", 1, "bob",
49-
"pass", false);
50-
verify(logger).printError("@|RED Routing is not supported by cypher-shell. Falling back to direct connection.|@");
51-
assertEquals("bolt://localhost:1", config.driverUrl());
52-
}
53-
5446
@Test
5547
public void encryption() {
5648
assertEquals(Config.EncryptionLevel.REQUIRED,

cypher-shell/src/test/java/org/neo4j/shell/prettyprint/TableOutputFormatTest.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -276,6 +276,7 @@ private StatementResult mockResult(List<String> cols, Object... data) {
276276
}
277277
when(result.list()).thenReturn(records);
278278
when(result.consume()).thenReturn(summary);
279+
when(result.summary()).thenReturn(summary);
279280
return result;
280281
}
281282

0 commit comments

Comments
 (0)