Skip to content

Commit

Permalink
Fix test failure
Browse files Browse the repository at this point in the history
  • Loading branch information
ali-ince committed Mar 4, 2019
1 parent 11345c1 commit 227c0fc
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ void shouldNotSendWriteAccessModeInStatementMetadata() throws Exception
.build();

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

0 comments on commit 227c0fc

Please sign in to comment.