浏览代码

Fix remaining test failure.

drieseng 4 年之前
父节点
当前提交
f09496b782
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/Renci.SshNet.Tests/Classes/ServiceFactoryTest_CreateConnector.cs

+ 1 - 1
src/Renci.SshNet.Tests/Classes/ServiceFactoryTest_CreateConnector.cs

@@ -134,7 +134,7 @@ namespace Renci.SshNet.Tests.Classes
                 Assert.AreEqual("ProxyTypes '666' is not supported.", ex.Message);
             }
 
-            _connectionInfoMock.Verify(p => p.ProxyType, Times.Once);
+            _connectionInfoMock.Verify(p => p.ProxyType, Times.Exactly(2));
         }
     }
 }