summaryrefslogtreecommitdiffstats
path: root/src/main.test/Tests/InstallationPluginTests/ScriptPluginTests.cs
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.test/Tests/InstallationPluginTests/ScriptPluginTests.cs')
-rw-r--r--src/main.test/Tests/InstallationPluginTests/ScriptPluginTests.cs5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/main.test/Tests/InstallationPluginTests/ScriptPluginTests.cs b/src/main.test/Tests/InstallationPluginTests/ScriptPluginTests.cs
index 7a6746b..ddbb419 100644
--- a/src/main.test/Tests/InstallationPluginTests/ScriptPluginTests.cs
+++ b/src/main.test/Tests/InstallationPluginTests/ScriptPluginTests.cs
@@ -66,8 +66,9 @@ namespace PKISharp.WACS.UnitTests.Tests.InstallationPluginTests
var settings = new MockSettingsService();
var userRoleService = new Mock.Services.UserRoleService();
var store = new CertificateStore(log, iis, settings, userRoleService, new FindPrivateKey(log), storeOptions);
- var oldCert = cs.RequestCertificate(null, RunLevel.Unattended, renewal, new Target("", "test.local", new List<TargetPart>()), new ACMESharp.Protocol.OrderDetails()).Result;
- var newCert = cs.RequestCertificate(null, RunLevel.Unattended, renewal, new Target("", "test.local", new List<TargetPart>()), new ACMESharp.Protocol.OrderDetails()).Result;
+ var targetOrder = new Order(renewal, new Target("", "test.local", new List<TargetPart>()));
+ var oldCert = cs.RequestCertificate(null, RunLevel.Unattended, targetOrder).Result;
+ var newCert = cs.RequestCertificate(null, RunLevel.Unattended, targetOrder).Result;
newCert.StoreInfo.Add(typeof(CertificateStore), new StoreInfo() { });
var options = new ScriptOptions
{