Skip to content

Commit 872087a

Browse files
committed
CSHARP-1888: Fix test that was dependent on a different ticket that was not backported.
1 parent 837ca58 commit 872087a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/MongoDB.Driver.Core.Tests/Core/Configuration/ClusterBuilderTests.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ public void CreateServerMonitorFactory_should_return_expected_result(int connect
4747

4848
var serverMonitorConnectionFactory = (BinaryConnectionFactory)result._connectionFactory();
4949
var serverMonitorConnectionSettings = serverMonitorConnectionFactory._settings();
50-
serverMonitorConnectionSettings.Authenticators.Should().HaveCount(0);
50+
serverMonitorConnectionSettings.Authenticators.Should().Equal(authenticators);
5151

5252
var serverMonitorStreamFactory = (TcpStreamFactory)serverMonitorConnectionFactory._streamFactory();
5353
var serverMonitorTcpStreamSettings = serverMonitorStreamFactory._settings();

0 commit comments

Comments
 (0)