Skip to content

Commit

Permalink
Bump neo4j-java-driver from 4.3.4 to 4.4.3
Browse files Browse the repository at this point in the history
* Bump neo4j-java-driver from 4.3.4 to 4.4.3

Bumps [neo4j-java-driver](https://github.com/neo4j/neo4j-java-driver) from 4.3.4 to 4.4.3.
- [Release notes](https://github.com/neo4j/neo4j-java-driver/releases)
- [Commits](neo4j/neo4j-java-driver@4.3.4...4.4.3)

---
updated-dependencies:
- dependency-name: org.neo4j.driver:neo4j-java-driver
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

* Update NetworkSession constructor calls

It now needs an impersonated user (since 4.4)

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Florent Biville <[email protected]>
  • Loading branch information
dependabot[bot] and fbiville authored Feb 16, 2022
1 parent 5ef6973 commit 2e0ea30
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -505,7 +505,7 @@ public void close() {
expectedEx.expect(SQLException.class);

NetworkSession networkSession = new NetworkSession(null, null,
DatabaseNameUtil.database(""), AccessMode.READ, new DefaultBookmarkHolder(), FetchSizeUtil.UNLIMITED_FETCH_SIZE, DevNullLogging.DEV_NULL_LOGGING);
DatabaseNameUtil.database(""), AccessMode.READ, new DefaultBookmarkHolder(), "", FetchSizeUtil.UNLIMITED_FETCH_SIZE, DevNullLogging.DEV_NULL_LOGGING);

Session session = new InternalSession(networkSession);
org.neo4j.driver.Driver driver = mock(org.neo4j.driver.Driver.class);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ public static Driver mockDriver() {
Driver mockedDriver = mock(org.neo4j.driver.Driver.class);
ConnectionProvider connectionProvider = mock(ConnectionProvider.class, RETURNS_MOCKS);
NetworkSession networkSession = new NetworkSession(connectionProvider, null,
DatabaseNameUtil.database(""), AccessMode.READ, new DefaultBookmarkHolder(), FetchSizeUtil.UNLIMITED_FETCH_SIZE, DevNullLogging.DEV_NULL_LOGGING);
DatabaseNameUtil.database(""), AccessMode.READ, new DefaultBookmarkHolder(), "", FetchSizeUtil.UNLIMITED_FETCH_SIZE, DevNullLogging.DEV_NULL_LOGGING);
Mockito.when(mockedDriver.session()).thenReturn(new InternalSession(networkSession));
return mockedDriver;
}
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@
<mockito.version>4.3.1</mockito.version>
<junit.version>4.13.2</junit.version>
<jmh.version>1.34</jmh.version>
<neo4j.java.driver.version>4.3.4</neo4j.java.driver.version>
<neo4j.java.driver.version>4.4.3</neo4j.java.driver.version>
<neo4j.version>4.3.0</neo4j.version>
<httpclient.version>4.5.13</httpclient.version>
<jackson.version>2.13.1</jackson.version>
Expand Down

0 comments on commit 2e0ea30

Please sign in to comment.