Commit 7575d89a authored by ilushka85's avatar ilushka85

fix tests

parent ada0269f
......@@ -20,7 +20,7 @@ namespace Titanium.Web.Proxy.UnitTests
{
var tasks = new List<Task>();
var mgr = new CertificateManager("Titanium","Titanium Root Certificate Authority");
var mgr = new CertificateManager("Titanium", "Titanium Root Certificate Authority");
mgr.ClearIdleCertificates(1);
......@@ -33,9 +33,9 @@ namespace Titanium.Web.Proxy.UnitTests
await Task.Delay(random.Next(0, 10) * 1000);
//get the connection
var certificate = await mgr.CreateCertificate(host, false);
var certificate = mgr.CreateCertificate(host, false);
Assert.IsNotNull(certificate);
Assert.IsNotNull(certificate);
}));
......
......@@ -59,7 +59,7 @@ namespace Titanium.Web.Proxy.Network
return null;
}
/// <summary>
/// Attempts to move a self-signed certificate to the root store.
/// Attempts to create a RootCertificate
/// </summary>
/// <returns>true if succeeded, else false</returns>
internal bool CreateTrustedRootCertificate()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment