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 00575ea commit 8289da9Copy full SHA for 8289da9
driver/src/test/java/org/neo4j/driver/util/DatabaseExtension.java
@@ -164,9 +164,9 @@ public boolean isNeo4j43OrEarlier()
164
{
165
try ( Session session = driver().session() )
166
167
- String protocolVersion = session.readTransaction( tx -> tx.run( "CALL dbms.components() YIELD versions " +
+ String neo4jVersion = session.readTransaction( tx -> tx.run( "CALL dbms.components() YIELD versions " +
168
"RETURN versions[0] AS version" ).single().get( "version" ).asString() );
169
- String[] versions = protocolVersion.split( "\\." );
+ String[] versions = neo4jVersion.split( "\\." );
170
int major = parseInt( versions[0] );
171
int minor = parseInt( versions[1] );
172
return major <= 4 && minor <= 3;
0 commit comments