Skip to content

Commit d909aee

Browse files
committed
Implement apple attestation statement test placeholder
1 parent 32f5ba6 commit d909aee

File tree

1 file changed

+11
-2
lines changed

1 file changed

+11
-2
lines changed

webauthn-server-core/src/test/scala/com/yubico/webauthn/RelyingPartyRegistrationSpec.scala

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2378,8 +2378,17 @@ class RelyingPartyRegistrationSpec
23782378
step.tryNext shouldBe a[Success[_]]
23792379
}
23802380

2381-
ignore("The apple statement format is supported.") {
2382-
fail("Not yet implemented.")
2381+
it("The apple statement format is supported.") {
2382+
val steps = finishRegistration(
2383+
testData =
2384+
RealExamples.AppleAttestationIos.asRegistrationTestData,
2385+
rp = RealExamples.AppleAttestationIos.rp,
2386+
)
2387+
val step: FinishRegistrationSteps#Step14 =
2388+
steps.begin.next.next.next.next.next.next.next.next.next.next.next.next.next
2389+
2390+
step.validations shouldBe a[Success[_]]
2391+
step.tryNext shouldBe a[Success[_]]
23832392
}
23842393

23852394
it("Unknown attestation statement formats are identified as such.") {

0 commit comments

Comments
 (0)