Skip to content

Commit 2e1624d

Browse files
committed
Hopefully fix the test for desktop in CI. Can't reproduce the issue locally.
1 parent 048f1e6 commit 2e1624d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ResourceManager/KeyVault/Commands.KeyVault.Test/Models/UtilitiesTests.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ public void GetWebKeyFromByok()
6363
public void GetWebKeyFromCertificate()
6464
{
6565
string password = "123";
66-
string path = "Resources/pshtest.pfx";
66+
string path = Path.Combine(Directory.GetCurrentDirectory(), "Resources", "pshtest.pfx");
6767

6868
IWebKeyConverter converters = WebKeyConverterFactory.CreateConverterChain();
6969
var webKey = converters.ConvertKeyFromFile(new FileInfo(path), password.ConvertToSecureString());

0 commit comments

Comments
 (0)