Skip to content

Commit ad2af7e

Browse files
committed
test: Fix misc tests
1 parent fe9d99c commit ad2af7e

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

Yubico.YubiKey/tests/integration/Yubico/YubiKey/Piv/AttestTests.cs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,11 +51,12 @@ public void Attest_Imported_ThrowsException(
5151
Session.CreateAttestationStatement(PivSlot.Retired1));
5252
}
5353

54-
[SkippableTheory(typeof(DeviceNotFoundException))]
54+
[SkippableTheory(typeof(DeviceNotFoundException), typeof(NotSupportedException))]
55+
[InlineData(KeyType.RSA1024, StandardTestDevice.Fw5)]
5556
[InlineData(KeyType.RSA2048, StandardTestDevice.Fw5)]
5657
[InlineData(KeyType.RSA3072, StandardTestDevice.Fw5)]
5758
[InlineData(KeyType.RSA4096, StandardTestDevice.Fw5)]
58-
[InlineData(KeyType.ECP256, StandardTestDevice.Fw5Fips)]
59+
[InlineData(KeyType.ECP256, StandardTestDevice.Fw5)]
5960
[InlineData(KeyType.Ed25519, StandardTestDevice.Fw5)]
6061
public void AttestGenerated(
6162
KeyType keyType,

Yubico.YubiKey/tests/integration/Yubico/YubiKey/Piv/RetryTests.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,7 @@ public void ChangeRetry_SetsToDefault(StandardTestDevice testDeviceType)
5959

6060
using (var pivSession = new PivSession(testDevice))
6161
{
62+
pivSession.ResetApplication();
6263
try
6364
{
6465
var collectorObj = new Simple39KeyCollector();

0 commit comments

Comments
 (0)