Merge branch '2.4.x'
Closes gh-25506
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright 2012-2020 the original author or authors.
|
||||
* Copyright 2012-2021 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.
|
||||
@@ -284,7 +284,7 @@ class Neo4jAutoConfigurationTests {
|
||||
@Test
|
||||
void securityWithCustomCertificates(@TempDir File directory) throws IOException {
|
||||
File certFile = new File(directory, "neo4j-driver.cert");
|
||||
assertThat(certFile.createNewFile());
|
||||
assertThat(certFile.createNewFile()).isTrue();
|
||||
|
||||
Neo4jProperties properties = new Neo4jProperties();
|
||||
properties.getSecurity().setTrustStrategy(TrustStrategy.TRUST_CUSTOM_CA_SIGNED_CERTIFICATES);
|
||||
|
||||
Reference in New Issue
Block a user