Skip to content

Commit

Permalink
Fix usage of insecure mode in connection parameters
Browse files Browse the repository at this point in the history
  • Loading branch information
sfc-gh-knozderko committed Dec 13, 2023
1 parent 645659a commit 7db62c9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ public void ShouldBuildHttpClientConfig()
var config = properties.BuildHttpClientConfig();

// then
Assert.AreEqual(properties.insecureMode, config.CrlCheckEnabled);
Assert.AreEqual(!properties.insecureMode, config.CrlCheckEnabled);
Assert.AreEqual(properties.proxyProperties.proxyHost, config.ProxyHost);
Assert.AreEqual(properties.proxyProperties.proxyPort, config.ProxyPort);
Assert.AreEqual(properties.proxyProperties.proxyUser, config.ProxyUser);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ internal TimeSpan TimeoutDuration()
internal HttpClientConfig BuildHttpClientConfig()
{
return new HttpClientConfig(
insecureMode,
!insecureMode,
proxyProperties.proxyHost,
proxyProperties.proxyPort,
proxyProperties.proxyUser,
Expand Down

0 comments on commit 7db62c9

Please sign in to comment.