merge Verification and Update Interfaces
Signed-off-by: Patrick Venture <venture@google.com>
Change-Id: I8c2548b9d6e15965cfdd49965bdc5dbe97d0dc94
diff --git a/test/firmware_state_updatepending_unittest.cpp b/test/firmware_state_updatepending_unittest.cpp
index 00bdc2a..31c88e9 100644
--- a/test/firmware_state_updatepending_unittest.cpp
+++ b/test/firmware_state_updatepending_unittest.cpp
@@ -215,7 +215,7 @@
EXPECT_TRUE(handler->open(session, flags, updateBlobId));
expectedState(FirmwareBlobHandler::UpdateState::updatePending);
- EXPECT_CALL(*updateMockPtr, triggerUpdate()).WillOnce(Return(true));
+ EXPECT_CALL(*updateMockPtr, trigger()).WillOnce(Return(true));
EXPECT_TRUE(handler->commit(session, {}));
expectedState(FirmwareBlobHandler::UpdateState::updateStarted);
@@ -228,7 +228,7 @@
EXPECT_TRUE(handler->open(session, flags, updateBlobId));
expectedState(FirmwareBlobHandler::UpdateState::updatePending);
- EXPECT_CALL(*updateMockPtr, triggerUpdate()).WillOnce(Return(false));
+ EXPECT_CALL(*updateMockPtr, trigger()).WillOnce(Return(false));
EXPECT_FALSE(handler->commit(session, {}));
expectedState(FirmwareBlobHandler::UpdateState::updatePending);