Skip to content

Commit

Permalink
Add unit test for revoked and certified report
Browse files Browse the repository at this point in the history
  • Loading branch information
phavekes committed Apr 24, 2024
1 parent 6f42fee commit e2d0318
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/Service/AuthenticatorStatusValidatorTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,7 @@ public function invalidReports()
'invalid UPDATE_AVAILABLE' => [[$this->createReport(AuthenticatorStatus::UPDATE_AVAILABLE)]],
'invalid REVOKED' => [[$this->createReport(AuthenticatorStatus::REVOKED)]],
'invalid mixed, all bad' => [[$this->createReport(AuthenticatorStatus::UPDATE_AVAILABLE), $this->createReport(AuthenticatorStatus::NOT_FIDO_CERTIFIED)]],
'invalid FIDO_CERTIFIED and REVOKED' => [[$this->createReport(AuthenticatorStatus::REVOKED), $this->createReport(AuthenticatorStatus::FIDO_CERTIFIED)]],
];
}
final public const USER_VERIFICATION_BYPASS = '';
Expand Down

0 comments on commit e2d0318

Please sign in to comment.