From 1169c6df165fc4ff24a27daa0b64bc1615de8137 Mon Sep 17 00:00:00 2001 From: Stephane Nicoll Date: Fri, 18 Mar 2022 14:52:46 +0100 Subject: [PATCH] Upgrade to Neo4j Java Driver 4.4.5 Closes gh-30326 --- .../boot/autoconfigure/neo4j/Neo4jAutoConfigurationTests.java | 4 ++-- spring-boot-project/spring-boot-dependencies/build.gradle | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/spring-boot-project/spring-boot-autoconfigure/src/test/java/org/springframework/boot/autoconfigure/neo4j/Neo4jAutoConfigurationTests.java b/spring-boot-project/spring-boot-autoconfigure/src/test/java/org/springframework/boot/autoconfigure/neo4j/Neo4jAutoConfigurationTests.java index 3c892cc48802..6903ff4ca149 100644 --- a/spring-boot-project/spring-boot-autoconfigure/src/test/java/org/springframework/boot/autoconfigure/neo4j/Neo4jAutoConfigurationTests.java +++ b/spring-boot-project/spring-boot-autoconfigure/src/test/java/org/springframework/boot/autoconfigure/neo4j/Neo4jAutoConfigurationTests.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2021 the original author or authors. + * Copyright 2012-2022 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. @@ -292,7 +292,7 @@ void securityWithCustomCertificates(@TempDir File directory) throws IOException Config.TrustStrategy trustStrategy = mapDriverConfig(properties).trustStrategy(); assertThat(trustStrategy.strategy()) .isEqualTo(Config.TrustStrategy.Strategy.TRUST_CUSTOM_CA_SIGNED_CERTIFICATES); - assertThat(trustStrategy.certFile()).isEqualTo(certFile); + assertThat(trustStrategy.certFiles()).containsOnly(certFile); } @Test diff --git a/spring-boot-project/spring-boot-dependencies/build.gradle b/spring-boot-project/spring-boot-dependencies/build.gradle index 8cea814df9bb..4a341cd4897c 100644 --- a/spring-boot-project/spring-boot-dependencies/build.gradle +++ b/spring-boot-project/spring-boot-dependencies/build.gradle @@ -1310,7 +1310,7 @@ bom { ] } } - library("Neo4j Java Driver", "4.4.3") { + library("Neo4j Java Driver", "4.4.5") { group("org.neo4j.driver") { modules = [ "neo4j-java-driver"