Index: components/pairing/fake_controller_pairing_controller.cc |
diff --git a/components/pairing/fake_controller_pairing_controller.cc b/components/pairing/fake_controller_pairing_controller.cc |
index 6528061dc436a6f8c136160415c6c7a2abebee56..0d30e06ecaf59d1266a6e39769adf47bac581bf1 100644 |
--- a/components/pairing/fake_controller_pairing_controller.cc |
+++ b/components/pairing/fake_controller_pairing_controller.cc |
@@ -219,7 +219,7 @@ void FakeControllerPairingController::OnAuthenticationDone( |
} |
void FakeControllerPairingController::StartSession() { |
- CHECK(current_stage_ == STAGE_PAIRING_DONE); |
+ CHECK(current_stage_ == STAGE_HOST_ENROLLMENT_SUCCESS); |
ChangeStage(STAGE_FINISHED); |
} |
@@ -315,7 +315,7 @@ void FakeControllerPairingController::PairingStageChanged(Stage new_stage) { |
enrollment_should_fail_ = false; |
next_stage = STAGE_HOST_ENROLLMENT_ERROR; |
} else { |
- next_stage = STAGE_PAIRING_DONE; |
+ next_stage = STAGE_HOST_ENROLLMENT_SUCCESS; |
} |
break; |
} |