summaryrefslogtreecommitdiff
path: root/update_attempter_unittest.cc
diff options
context:
space:
mode:
Diffstat (limited to 'update_attempter_unittest.cc')
-rw-r--r--update_attempter_unittest.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/update_attempter_unittest.cc b/update_attempter_unittest.cc
index 1f6cd744..317f0ca5 100644
--- a/update_attempter_unittest.cc
+++ b/update_attempter_unittest.cc
@@ -288,7 +288,8 @@ TEST_F(UpdateAttempterTest, GetErrorCodeForActionTest) {
EXPECT_EQ(ErrorCode::kFilesystemVerifierError,
GetErrorCodeForAction(&filesystem_verifier_action,
ErrorCode::kError));
- PostinstallRunnerAction postinstall_runner_action(&fake_system_state);
+ PostinstallRunnerAction postinstall_runner_action(
+ fake_system_state.fake_boot_control());
EXPECT_EQ(ErrorCode::kPostinstallRunnerError,
GetErrorCodeForAction(&postinstall_runner_action,
ErrorCode::kError));