Skip to content

Commit c268c1d

Browse files
committed
tests:
remove overlapping test add docs
1 parent 8c52f4e commit c268c1d

File tree

2 files changed

+2
-16
lines changed

2 files changed

+2
-16
lines changed

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

Lines changed: 1 addition & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -79,21 +79,6 @@ public void AttestGenerated(
7979
}
8080
}
8181

82-
[Theory]
83-
[InlineData(KeyType.RSA2048, StandardTestDevice.Fw5)]
84-
[InlineData(KeyType.RSA3072, StandardTestDevice.Fw5)]
85-
[InlineData(KeyType.RSA4096, StandardTestDevice.Fw5)]
86-
[InlineData(KeyType.ECP256, StandardTestDevice.Fw5)]
87-
[InlineData(KeyType.ECP384, StandardTestDevice.Fw5)]
88-
public void LoadInvalidCert_Attest_ThrowsException(
89-
KeyType keyType,
90-
StandardTestDevice deviceType)
91-
{
92-
TestDeviceType = deviceType;
93-
94-
_ = Assert.Throws<ArgumentException>(() => LoadAttestationPair(keyType, false));
95-
}
96-
9782
[Theory]
9883
[InlineData(StandardTestDevice.Fw5)]
9984
public void GetAttestationCert_ReturnsCert(
@@ -140,7 +125,7 @@ public void UseBadAttestPair_CreateStatement_ThrowsInvalidOp(
140125
// Call this to attempt creating an attestation statement. It should
141126
// fail. So if the operation throws an exception, it fails, so return
142127
// true. If the operation does not throw an exception, it did not fail,
143-
// so return false.6
128+
// so return false.
144129
private bool AttestationShouldFail(
145130
int whichPair)
146131
{

Yubico.YubiKey/tests/utilities/Yubico/YubiKey/TestUtilities/TestCertificate.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@ private TestCertificate(
4646
/// Loads a certificate from the TestData directory.
4747
/// </summary>
4848
/// <param name="curve">The curve or key type associated with the certificate</param>
49+
/// <param name="keyType">keyType to load</param>
4950
/// <param name="isAttestation">True if loading an attestation certificate</param>
5051
/// <returns>A TestCertificate instance</returns>
5152
public static TestCertificate Load(

0 commit comments

Comments
 (0)