Skip to content

Commit e28a995

Browse files
committed
Fixed failing test
1 parent 3393e08 commit e28a995

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

driver/src/test/java/org/neo4j/driver/v1/GraphDatabaseTest.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -132,10 +132,10 @@ void shouldLogWhenUnableToCreateRoutingDriver( String scheme ) throws Exception
132132

133133
assertThrows( ServiceUnavailableException.class, () -> GraphDatabase.routingDriver( routingUris, AuthTokens.none(), config ) );
134134

135-
verify( logger ).warn( eq( "Unable to create routing driver for URI: bolt+routing://localhost:9001" ),
135+
verify( logger ).warn( eq( String.format( "Unable to create routing driver for URI: %s://localhost:9001", scheme ) ),
136136
any( Throwable.class ) );
137137

138-
verify( logger ).warn( eq( "Unable to create routing driver for URI: bolt+routing://localhost:9002" ),
138+
verify( logger ).warn( eq( String.format( "Unable to create routing driver for URI: %s://localhost:9002", scheme ) ),
139139
any( Throwable.class ) );
140140

141141
assertEquals( 0, server1.exitStatus() );

0 commit comments

Comments
 (0)