We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f5bcbbf commit 846eb45Copy full SHA for 846eb45
Tests/FaceLivenessTests/LivenessTests.swift
@@ -71,7 +71,7 @@ final class FaceLivenessDetectionViewModelTestCase: XCTestCase {
71
/// Then: The end state of this flow is `.faceMatched`
72
func testHappyPathToMatchedFace() async throws {
73
viewModel.livenessService = self.livenessService
74
- viewModel.challenge = Challenge(version: "2.0.0", type: .faceMovementAndLightChallenge)
+ viewModel.challengeReceived = Challenge(version: "2.0.0", type: .faceMovementAndLightChallenge)
75
76
viewModel.livenessState.checkIsFacePrepared()
77
XCTAssertEqual(viewModel.livenessState.state, .pendingFacePreparedConfirmation(.pendingCheck))
0 commit comments