bmc: firmware updateStarted: stat(session)
Signed-off-by: Patrick Venture <venture@google.com>
Change-Id: I3d34f52aacbb004bccf18748c8f8cd591dbb0490
diff --git a/test/firmware_state_verificationstarted_unittest.cpp b/test/firmware_state_verificationstarted_unittest.cpp
index 9072ab9..e031fe3 100644
--- a/test/firmware_state_verificationstarted_unittest.cpp
+++ b/test/firmware_state_verificationstarted_unittest.cpp
@@ -70,7 +70,7 @@
StatOnVerifyBlobIdAfterCommitChecksStateAndReturnsRunning)
{
getToVerificationStarted(staticLayoutBlobId);
- EXPECT_CALL(*verifyMockPtr, checkVerificationState())
+ EXPECT_CALL(*verifyMockPtr, status())
.WillOnce(Return(VerifyCheckResponses::running));
blobs::BlobMeta meta, expectedMeta = {};
@@ -87,7 +87,7 @@
StatOnVerifyBlobIdAfterCommitChecksStateAndReturnsOther)
{
getToVerificationStarted(staticLayoutBlobId);
- EXPECT_CALL(*verifyMockPtr, checkVerificationState())
+ EXPECT_CALL(*verifyMockPtr, status())
.WillOnce(Return(VerifyCheckResponses::other));
blobs::BlobMeta meta, expectedMeta = {};
@@ -107,7 +107,7 @@
* commit_error and transitions to verificationCompleted.
*/
getToVerificationStarted(staticLayoutBlobId);
- EXPECT_CALL(*verifyMockPtr, checkVerificationState())
+ EXPECT_CALL(*verifyMockPtr, status())
.WillOnce(Return(VerifyCheckResponses::failed));
blobs::BlobMeta meta, expectedMeta = {};
@@ -128,7 +128,7 @@
* committed and transitions to verificationCompleted.
*/
getToVerificationStarted(staticLayoutBlobId);
- EXPECT_CALL(*verifyMockPtr, checkVerificationState())
+ EXPECT_CALL(*verifyMockPtr, status())
.WillOnce(Return(VerifyCheckResponses::success));
blobs::BlobMeta meta, expectedMeta = {};