CI server does not have valid dev-cert
This commit is contained in:
Родитель
7fa6ffabd8
Коммит
9df9984d24
|
@ -54,7 +54,6 @@ before_build:
|
|||
|
||||
[Environment]::SetEnvironmentVariable("PATH", $env:Path, "User")
|
||||
|
||||
|
||||
Write-Output "Restoring dotnet projects ..."
|
||||
|
||||
dotnet restore amqp-dotnet.sln
|
||||
|
|
|
@ -81,7 +81,7 @@ namespace Test.Common
|
|||
X509Certificate2Collection collection = store.Certificates.Find(
|
||||
X509FindType.FindBySubjectName,
|
||||
certFindValue,
|
||||
true);
|
||||
false);
|
||||
if (collection.Count == 0)
|
||||
{
|
||||
cert = null;
|
||||
|
|
Загрузка…
Ссылка в новой задаче