Skip to content

Commit

Permalink
Use new method
Browse files Browse the repository at this point in the history
  • Loading branch information
DennisDyallo committed Aug 7, 2024
1 parent e21f98e commit 7db54c5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ public class MakeCredentialBlobTests
[Fact]
public void CredBlobExtension_Correct()
{
IYubiKeyDevice yubiKeyDevice = IntegrationTestDeviceEnumeration.GetTestDevices()[0];
IYubiKeyDevice yubiKeyDevice = IntegrationTestDeviceEnumeration.GetTestDevice();
IYubiKeyConnection connection = yubiKeyDevice.Connect(YubiKeyApplication.Fido2);

var getInfoCmd = new GetInfoCommand();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ public void HasFeature_ApplicationOTP_Correct()
[Fact]
public void HasFeature_ApplicationU2F_Correct()
{
IYubiKeyDevice yubiKeyDevice = IntegrationTestDeviceEnumeration.GetTestDevices().First();
IYubiKeyDevice yubiKeyDevice = IntegrationTestDeviceEnumeration.GetTestDevice();
bool expectedResult = true;

//Can this be removed?
Expand All @@ -50,7 +50,7 @@ public void HasFeature_ApplicationU2F_Correct()
[Fact]
public void HasFeature_ApplicationFido2_Correct()
{
IYubiKeyDevice yubiKeyDevice = IntegrationTestDeviceEnumeration.GetTestDevices().First();
IYubiKeyDevice yubiKeyDevice = IntegrationTestDeviceEnumeration.GetTestDevice();
bool expectedResult = true;
if (!yubiKeyDevice.IsSkySeries && yubiKeyDevice.FirmwareVersion.Major < 5)
{
Expand Down

0 comments on commit 7db54c5

Please sign in to comment.