Skip to content

Commit 846eb45

Browse files
committed
fix test build
1 parent f5bcbbf commit 846eb45

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Tests/FaceLivenessTests/LivenessTests.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ final class FaceLivenessDetectionViewModelTestCase: XCTestCase {
7171
/// Then: The end state of this flow is `.faceMatched`
7272
func testHappyPathToMatchedFace() async throws {
7373
viewModel.livenessService = self.livenessService
74-
viewModel.challenge = Challenge(version: "2.0.0", type: .faceMovementAndLightChallenge)
74+
viewModel.challengeReceived = Challenge(version: "2.0.0", type: .faceMovementAndLightChallenge)
7575

7676
viewModel.livenessState.checkIsFacePrepared()
7777
XCTAssertEqual(viewModel.livenessState.state, .pendingFacePreparedConfirmation(.pendingCheck))

0 commit comments

Comments
 (0)