Skip to content

Commit f0ddfc7

Browse files
author
Lee Fine
committed
initial-integration-tests
1 parent 35cda3f commit f0ddfc7

File tree

2 files changed

+14
-1
lines changed

2 files changed

+14
-1
lines changed

RemoteFileIntegrationTests/RFPEMInventoryTests.cs

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,13 @@
1+
using Keyfactor.Orchestrators.Extensions;
2+
13
namespace RemoteFileIntegrationTests
24
{
35
public class RFPEMInventoryTests : BaseRFPEMTest
46
{
57
[Fact]
68
public void RFPEM_Inventory_InternalPrivateKey_EmptyStore_Linux_Test0001()
79
{
8-
10+
InventoryJobConfiguration config = BuildBaseInvConfig();
911
}
1012

1113
public override void SetUp()
@@ -23,5 +25,15 @@ public override void TearDown()
2325
RemoveStore("Test0003", true, STORE_ENVIRONMENT_ENUM.LINUX);
2426
RemoveStore("Test0004", true, STORE_ENVIRONMENT_ENUM.LINUX);
2527
}
28+
29+
private InventoryJobConfiguration BuildBaseInvConfig()
30+
{
31+
InventoryJobConfiguration config = new InventoryJobConfiguration();
32+
config.Capability = "Inventory";
33+
config.CertificateStoreDetails = new CertificateStore();
34+
config.JobId = new Guid();
35+
config.JobProperties = new Dictionary<string, object>();
36+
37+
}
2638
}
2739
}

RemoteFileIntegrationTests/RemoteFileIntegrationTests.csproj

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
<ItemGroup>
1313
<PackageReference Include="BouncyCastle.Cryptography" Version="2.4.0" />
1414
<PackageReference Include="coverlet.collector" Version="6.0.0" />
15+
<PackageReference Include="Keyfactor.Orchestrators.IOrchestratorJobExtensions" Version="0.7.0" />
1516
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.8.0" />
1617
<PackageReference Include="SSH.NET" Version="2024.0.0" />
1718
<PackageReference Include="xunit" Version="2.5.3" />

0 commit comments

Comments
 (0)