pldmd: Remove hard coded effecter id
This commit removes the hard coded effecter id from the
dbus_to_host_effecter.json for Phyp to boot from standby
to runtime. The effecter id will be fetched from Host PDR
instead.
Change-Id: I1829c99557a0f1b89d88c58b3ddef6d7d58ed2f6
Signed-off-by: Sampa Misra <sampmisr@in.ibm.com>
diff --git a/test/libpldmresponder_pdr_effecter_test.cpp b/test/libpldmresponder_pdr_effecter_test.cpp
index 60181d6..a2a7288 100644
--- a/test/libpldmresponder_pdr_effecter_test.cpp
+++ b/test/libpldmresponder_pdr_effecter_test.cpp
@@ -200,11 +200,11 @@
uint16_t containerId = 0;
uint16_t stateSetId = 196;
auto effecterId = findStateEffecterId(inPDRRepo, entityType, entityInstance,
- containerId, stateSetId);
+ containerId, stateSetId, true);
ASSERT_EQ(effecterId, 1);
stateSetId = 300;
effecterId = findStateEffecterId(inPDRRepo, entityType, entityInstance,
- containerId, stateSetId);
+ containerId, stateSetId, true);
ASSERT_EQ(effecterId, PLDM_INVALID_EFFECTER_ID);
pldm_pdr_destroy(inPDRRepo);
}