Skip to content

Commit

Permalink
Adapt test.
Browse files Browse the repository at this point in the history
These tests needed to be adapted due to the fact that the previous test did not actually change the default value.
  • Loading branch information
michael-simons committed Dec 9, 2021
1 parent 940c1c5 commit 916e03b
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ void testSelfSignedCertConfigDisablesHostnameVerification( String scheme ) throw
void testThrowsOnUserCustomizedEncryption( String scheme )
{
SecuritySettings securitySettings = new SecuritySettings.SecuritySettingsBuilder()
.withoutEncryption()
.withEncryption()
.build();

ClientException ex =
Expand All @@ -121,7 +121,7 @@ void testThrowsOnUserCustomizedEncryption( String scheme )
void testThrowsOnUserCustomizedTrustConfiguration( String scheme )
{
SecuritySettings securitySettings = new SecuritySettings.SecuritySettingsBuilder()
.withTrustStrategy( Config.TrustStrategy.trustSystemCertificates() )
.withTrustStrategy( Config.TrustStrategy.trustAllCertificates() )
.build();

ClientException ex =
Expand Down

0 comments on commit 916e03b

Please sign in to comment.