From e2d0318e0490a6794cf68a80f9a65e3904169e8d Mon Sep 17 00:00:00 2001 From: Peter Havekes Date: Mon, 22 Apr 2024 10:37:44 +0200 Subject: [PATCH] Add unit test for revoked and certified report --- tests/Service/AuthenticatorStatusValidatorTest.php | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/Service/AuthenticatorStatusValidatorTest.php b/tests/Service/AuthenticatorStatusValidatorTest.php index 2923eb6c..10f9c8aa 100644 --- a/tests/Service/AuthenticatorStatusValidatorTest.php +++ b/tests/Service/AuthenticatorStatusValidatorTest.php @@ -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 = '';