Skip to content

Commit abd41ff

Browse files
committed
Removed test no longer relevant.
1 parent 23ec89a commit abd41ff

File tree

1 file changed

+0
-24
lines changed

1 file changed

+0
-24
lines changed

Diff for: hmailserver/test/RegressionTests/SSL/SslTlsVersionTests.cs

-24
Original file line numberDiff line numberDiff line change
@@ -35,30 +35,6 @@ private void SetSslVersions(bool sslv3, bool tlsv10, bool tlsv11, bool tlsv12)
3535
_account = SingletonProvider<TestSetup>.Instance.AddAccount(_domain, "[email protected]", "test");
3636
}
3737

38-
[Test]
39-
public void SslV2ShouldBeDisabled()
40-
{
41-
SetSslVersions(true, true, true, true);
42-
var smtpClientSimulator = new SmtpClientSimulator(true, SslProtocols.Ssl2, 25001, IPAddress.Parse("127.0.0.1"));
43-
44-
try
45-
{
46-
string errorMessage;
47-
48-
smtpClientSimulator.Send(false, _account.Address, "test", _account.Address, _account.Address, "Test", "test", out errorMessage);
49-
}
50-
catch (System.IO.IOException)
51-
{
52-
// expected
53-
}
54-
55-
RetryHelper.TryAction(TimeSpan.FromSeconds(10), () =>
56-
{
57-
var defaultLog = LogHandler.ReadCurrentDefaultLog();
58-
Assert.IsTrue(defaultLog.Contains("unknown protocol"));
59-
});
60-
}
61-
6238
[Test]
6339
public void ItShouldBePossibleToEnableSslV3()
6440
{

0 commit comments

Comments
 (0)