security: Separate TPM locator modification and database resetting in PIB
Change-Id: I80c2805b6e1204b95d59a090a6a04e1ee62fb6e5
Refs: #3203
diff --git a/tests/unit-tests/security/pib/pib-memory.t.cpp b/tests/unit-tests/security/pib/pib-memory.t.cpp
index b8bfb62..89cf198 100644
--- a/tests/unit-tests/security/pib/pib-memory.t.cpp
+++ b/tests/unit-tests/security/pib/pib-memory.t.cpp
@@ -28,18 +28,11 @@
namespace pib {
namespace tests {
-// most functionalities are tested in pib-impl.t.cpp
BOOST_AUTO_TEST_SUITE(Security)
BOOST_AUTO_TEST_SUITE(Pib)
BOOST_AUTO_TEST_SUITE(TestPibMemory)
-BOOST_AUTO_TEST_CASE(TpmLocatorManagement)
-{
- PibMemory pibImpl;
-
- BOOST_CHECK_EQUAL(pibImpl.getTpmLocator(), "tpm-memory:");
- BOOST_CHECK_THROW(pibImpl.setTpmLocator(""), PibImpl::Error);
-}
+// Functionality is tested as part of pib-impl.t.cpp
BOOST_AUTO_TEST_SUITE_END() // TestPibMemory
BOOST_AUTO_TEST_SUITE_END() // Pib