Index: delta_performer_unittest.cc |
diff --git a/delta_performer_unittest.cc b/delta_performer_unittest.cc |
index 5565c886bb1fdb322f23fa160515a30d455b5902..07fd8cc598df02a5da36b1f8cde78028179566c0 100755 |
--- a/delta_performer_unittest.cc |
+++ b/delta_performer_unittest.cc |
@@ -259,6 +259,8 @@ TEST(DeltaPerformerTest, RunAsRootSmallImageTest) { |
manifest_metadata_size)).WillOnce(Return(true)); |
EXPECT_CALL(prefs, SetInt64(kPrefsUpdateStateNextOperation, _)) |
.WillRepeatedly(Return(true)); |
+ EXPECT_CALL(prefs, GetInt64(kPrefsUpdateStateNextOperation, _)) |
+ .WillOnce(Return(false)); |
EXPECT_CALL(prefs, SetInt64(kPrefsUpdateStateNextDataOffset, _)) |
.WillRepeatedly(Return(true)); |
EXPECT_CALL(prefs, SetString(kPrefsUpdateStateSHA256Context, _)) |