File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
driver/src/test/java/org/neo4j/driver/internal Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -106,7 +106,7 @@ void testSelfSignedCertConfigDisablesHostnameVerification( String scheme ) throw
106
106
void testThrowsOnUserCustomizedEncryption ( String scheme )
107
107
{
108
108
SecuritySettings securitySettings = new SecuritySettings .SecuritySettingsBuilder ()
109
- .withoutEncryption ()
109
+ .withEncryption ()
110
110
.build ();
111
111
112
112
ClientException ex =
@@ -121,7 +121,7 @@ void testThrowsOnUserCustomizedEncryption( String scheme )
121
121
void testThrowsOnUserCustomizedTrustConfiguration ( String scheme )
122
122
{
123
123
SecuritySettings securitySettings = new SecuritySettings .SecuritySettingsBuilder ()
124
- .withTrustStrategy ( Config .TrustStrategy .trustSystemCertificates () )
124
+ .withTrustStrategy ( Config .TrustStrategy .trustAllCertificates () )
125
125
.build ();
126
126
127
127
ClientException ex =
You can’t perform that action at this time.
0 commit comments