bmc: firmware updatePending: write(session)
Signed-off-by: Patrick Venture <venture@google.com>
Change-Id: I4288e2b715b17d7d4faa82ffe63a721c0b132d27
diff --git a/test/firmware_state_updatepending_unittest.cpp b/test/firmware_state_updatepending_unittest.cpp
index eb0a54e..43f90e3 100644
--- a/test/firmware_state_updatepending_unittest.cpp
+++ b/test/firmware_state_updatepending_unittest.cpp
@@ -152,6 +152,17 @@
}
/*
+ * write(session)
+ */
+TEST_F(FirmwareHandlerUpdatePendingTest, WriteToUpdateBlobReturnsFailure)
+{
+ getToUpdatePending();
+
+ EXPECT_TRUE(handler->open(session, flags, updateBlobId));
+ EXPECT_FALSE(handler->write(session, 0, {0x01}));
+}
+
+/*
* TODO: deleteBlob(blob)
*/
@@ -164,10 +175,6 @@
*/
/*
- * write(session)
- */
-
-/*
* read(session)
*/