diff --git a/webauthn-server-core/src/test/scala/com/yubico/webauthn/RelyingPartyRegistrationSpec.scala b/webauthn-server-core/src/test/scala/com/yubico/webauthn/RelyingPartyRegistrationSpec.scala index 618a7e3d5..297ec21f0 100644 --- a/webauthn-server-core/src/test/scala/com/yubico/webauthn/RelyingPartyRegistrationSpec.scala +++ b/webauthn-server-core/src/test/scala/com/yubico/webauthn/RelyingPartyRegistrationSpec.scala @@ -2051,13 +2051,6 @@ class RelyingPartyRegistrationSpec IllegalArgumentException ] - val goodResult = Try( - verifier.verifyX5cRequirements(badCert, testDataBase.aaguid) - ) - - goodResult shouldBe a[Failure[_]] - goodResult.failed.get shouldBe an[IllegalArgumentException] - verifier.verifyX5cRequirements( testDataBase.packedAttestationCert, testDataBase.aaguid,