Skip to content

Commit 35f98d1

Browse files
committed
Improved test.
1 parent 35f688e commit 35f98d1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/MongoDB.Driver.Tests/Specifications/socks5-support/Socks5SupportProseTests.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ public async Task TestConnectionStrings(string connectionString, bool expectedRe
7474
{
7575
ClientCertificates = [certificate],
7676
CheckCertificateRevocation = false,
77-
ServerCertificateValidationCallback = (sender, cert, chain, errors) => true,
77+
ServerCertificateValidationCallback = (_, _, _, _) => true,
7878
};
7979
}
8080

0 commit comments

Comments
 (0)