Upgrade to Neo4j Java Driver 5.7.0

Closes gh-34934
pull/34945/head
Stephane Nicoll 2 years ago
parent 6bf557cb47
commit 47baad1e44

@ -1,5 +1,5 @@
/*
* Copyright 2012-2020 the original author or authors.
* Copyright 2012-2023 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@ -20,7 +20,6 @@ import org.mockito.ArgumentMatchers;
import org.neo4j.driver.Driver;
import org.neo4j.driver.Session;
import org.neo4j.driver.SessionConfig;
import org.neo4j.driver.types.TypeSystem;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
@ -40,9 +39,7 @@ class MockedDriverConfiguration {
@Bean
Driver driver() {
Driver driver = mock(Driver.class);
TypeSystem typeSystem = mock(TypeSystem.class);
Session session = mock(Session.class);
given(driver.defaultTypeSystem()).willReturn(typeSystem);
given(driver.session(ArgumentMatchers.any(SessionConfig.class))).willReturn(session);
return driver;
}

@ -1008,7 +1008,7 @@ bom {
]
}
}
library("Neo4j Java Driver", "5.5.0") {
library("Neo4j Java Driver", "5.7.0") {
group("org.neo4j.driver") {
modules = [
"neo4j-java-driver"

Loading…
Cancel
Save