summaryrefslogtreecommitdiffstats
path: root/src/main.test/Tests/InstallationPluginTests/ScriptPluginTests.cs
diff options
context:
space:
mode:
authorWouterTinus <wouter.tinus@gmail.com>2019-05-30 12:49:22 +0200
committerWouterTinus <wouter.tinus@gmail.com>2019-05-30 12:49:22 +0200
commitf72762638cb6deb2fdccac211a3a6c320412d56f (patch)
treef94e8685bac90364bff653bc231777348fe13f38 /src/main.test/Tests/InstallationPluginTests/ScriptPluginTests.cs
parent9336ea242d9a561e6abc7b4011058895b7ef18ba (diff)
downloadletsencrypt-win-simple-origin/2.0.7.zip
letsencrypt-win-simple-origin/2.0.7.tar.gz
letsencrypt-win-simple-origin/2.0.7.tar.bz2
Fix unit testsv2.0.7origin/2.0.7
Diffstat (limited to 'src/main.test/Tests/InstallationPluginTests/ScriptPluginTests.cs')
-rw-r--r--src/main.test/Tests/InstallationPluginTests/ScriptPluginTests.cs3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/main.test/Tests/InstallationPluginTests/ScriptPluginTests.cs b/src/main.test/Tests/InstallationPluginTests/ScriptPluginTests.cs
index 7244acc..274233f 100644
--- a/src/main.test/Tests/InstallationPluginTests/ScriptPluginTests.cs
+++ b/src/main.test/Tests/InstallationPluginTests/ScriptPluginTests.cs
@@ -64,13 +64,14 @@ namespace PKISharp.WACS.UnitTests.Tests.InstallationPluginTests
var store = new CertificateStore(log, iis, storeOptions);
var oldCert = cs.RequestCertificate(null, RunLevel.Unattended, renewal, new Target() { CommonName = "test.local" }, null);
var newCert = cs.RequestCertificate(null, RunLevel.Unattended, renewal, new Target() { CommonName = "test.local" }, null);
+ newCert.StoreInfo.Add(typeof(CertificateStore), new StoreInfo() { });
var options = new ScriptOptions
{
Script = script,
ScriptParameters = parameters
};
var installer = new Script(renewal, options, log);
- installer.Install(store, newCert, oldCert);
+ installer.Install(new[] { store }, newCert, oldCert);
}
[TestMethod]