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
106106 void testThrowsOnUserCustomizedEncryption ( String scheme )
107107 {
108108 SecuritySettings securitySettings = new SecuritySettings .SecuritySettingsBuilder ()
109- .withoutEncryption ()
109+ .withEncryption ()
110110 .build ();
111111
112112 ClientException ex =
@@ -121,7 +121,7 @@ void testThrowsOnUserCustomizedEncryption( String scheme )
121121 void testThrowsOnUserCustomizedTrustConfiguration ( String scheme )
122122 {
123123 SecuritySettings securitySettings = new SecuritySettings .SecuritySettingsBuilder ()
124- .withTrustStrategy ( Config .TrustStrategy .trustSystemCertificates () )
124+ .withTrustStrategy ( Config .TrustStrategy .trustAllCertificates () )
125125 .build ();
126126
127127 ClientException ex =
You can’t perform that action at this time.
0 commit comments