Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ public static AuthenticatorTransport valueOf(String value) {
}

public static AuthenticatorTransport[] values() {
return new AuthenticatorTransport[] { USB, NFC, BLE, HYBRID, INTERNAL };
return new AuthenticatorTransport[] { USB, NFC, BLE, SMART_CARD, HYBRID, INTERNAL };
}

@Override
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -73,4 +73,11 @@ void usbWhenDifferentValueThenNotEquals() {
assertThat(AuthenticatorTransport.USB).isNotEqualTo(AuthenticatorTransport.NFC);
}

@Test
void valuesThenContainsAllAuthenticatorTransports() {
assertThat(AuthenticatorTransport.values()).containsExactly(AuthenticatorTransport.USB,
AuthenticatorTransport.NFC, AuthenticatorTransport.BLE, AuthenticatorTransport.SMART_CARD,
AuthenticatorTransport.HYBRID, AuthenticatorTransport.INTERNAL);
}

}