diff --git a/fsw/cfe-core/ut-stubs/ut_es_stubs.c b/fsw/cfe-core/ut-stubs/ut_es_stubs.c index 9a77c3d5b..e149549b8 100644 --- a/fsw/cfe-core/ut-stubs/ut_es_stubs.c +++ b/fsw/cfe-core/ut-stubs/ut_es_stubs.c @@ -333,6 +333,7 @@ int32 CFE_ES_RegisterChildTask(void) int32 CFE_ES_WriteToSysLog(const char *pSpecString, ...) { int32 status; + UT_Stub_RegisterContext(UT_KEY(CFE_ES_WriteToSysLog), pSpecString); // allow this input to be used by hook functions status = UT_DEFAULT_IMPL(CFE_ES_WriteToSysLog); diff --git a/fsw/cfe-core/ut-stubs/ut_evs_stubs.c b/fsw/cfe-core/ut-stubs/ut_evs_stubs.c index 306712dcf..98f0ec91c 100644 --- a/fsw/cfe-core/ut-stubs/ut_evs_stubs.c +++ b/fsw/cfe-core/ut-stubs/ut_evs_stubs.c @@ -111,6 +111,8 @@ int32 CFE_EVS_SendEvent(uint16 EventID, int32 status; UT_Stub_RegisterContext(UT_KEY(CFE_EVS_SendEvent), &EventID); + UT_Stub_RegisterContext(UT_KEY(CFE_EVS_SendEvent), &EventType); + UT_Stub_RegisterContext(UT_KEY(CFE_EVS_SendEvent), Spec); status = UT_DEFAULT_IMPL(CFE_EVS_SendEvent); if (status >= 0)