diff --git a/src/app/tests/TestICDManager.cpp b/src/app/tests/TestICDManager.cpp index e5cb912aa1f332..c5d7c66b46cf39 100644 --- a/src/app/tests/TestICDManager.cpp +++ b/src/app/tests/TestICDManager.cpp @@ -203,14 +203,14 @@ class TestICDManager NL_TEST_ASSERT(aSuite, CHIP_NO_ERROR == table.Set(0, entry)); // Trigger register event after first entry was added - ICDNotifier::GetInstance().BroadcastICDManagementEvent(ICDMEvent::kTableUpdated); + ICDNotifier::GetInstance().NotifyICDManagementEvent(ICDMEvent::kTableUpdated); // Check ICDManager is now in the LIT operating mode NL_TEST_ASSERT(aSuite, ICDConfigurationData::GetInstance().GetICDMode() == ICDConfigurationData::ICDMode::LIT); // Kick an ActiveModeThreshold since a Registration can only happen from an incoming message that would transition the ICD // to ActiveMode - ICDNotifier::GetInstance().BroadcastNetworkActivityNotification(); + ICDNotifier::GetInstance().NotifyNetworkActivityNotification(); NL_TEST_ASSERT(aSuite, ctx->mICDManager.mOperationalState == ICDManager::OperationalState::ActiveMode); // Return the device to return to IdleMode - Increase time by ActiveModeThreshold since ActiveModeDuration is 0