Skip to content

Commit 227c0fc

Browse files
committed
Fix test failure
1 parent 11345c1 commit 227c0fc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

driver/src/test/java/org/neo4j/driver/internal/DirectDriverBoltKitTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@ void shouldNotSendWriteAccessModeInStatementMetadata() throws Exception
175175
.build();
176176

177177
try ( Driver driver = GraphDatabase.driver( "bolt://localhost:9001", config );
178-
Session session = driver.session( AccessMode.READ ) )
178+
Session session = driver.session( AccessMode.WRITE ) )
179179
{
180180
List<String> names = session.run( "MATCH (n) RETURN n.name" ).list( record -> record.get( 0 ).asString() );
181181
assertEquals( asList( "Foo", "Bar" ), names );

0 commit comments

Comments
 (0)