| Index: omaha_response_handler_action_unittest.cc
|
| diff --git a/omaha_response_handler_action_unittest.cc b/omaha_response_handler_action_unittest.cc
|
| index 0db21beeba1448d3831ff55f1c3d9070d8f3cfdd..7f1ee15989b07c9487e0d87231deee017747636a 100644
|
| --- a/omaha_response_handler_action_unittest.cc
|
| +++ b/omaha_response_handler_action_unittest.cc
|
| @@ -12,6 +12,7 @@
|
| #include "update_engine/utils.h"
|
|
|
| using std::string;
|
| +using testing::NiceMock;
|
| using testing::Return;
|
|
|
| namespace chromeos_update_engine {
|
| @@ -64,7 +65,7 @@ bool OmahaResponseHandlerActionTest::DoTest(const OmahaResponse& in,
|
|
|
| ObjectFeederAction<OmahaResponse> feeder_action;
|
| feeder_action.set_obj(in);
|
| - PrefsMock prefs;
|
| + NiceMock<PrefsMock> prefs;
|
| if (in.update_exists) {
|
| EXPECT_CALL(prefs, SetString(kPrefsUpdateCheckResponseHash, in.hash))
|
| .WillOnce(Return(true));
|
|
|