Skip to content

Commit d0f8957

Browse files
Fix TestCommissionManager
1 parent d5b61f0 commit d0f8957

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/app/tests/TestCommissionManager.cpp

+3
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
* limitations under the License.
1616
*/
1717

18+
#include <app/TestEventTriggerDelegate.h>
1819
#include <app/TimerDelegates.h>
1920
#include <app/reporting/ReportSchedulerImpl.h>
2021
#include <app/server/CommissioningWindowManager.h>
@@ -100,6 +101,8 @@ void InitializeChip(nlTestSuite * suite)
100101
static chip::app::DefaultTimerDelegate sTimerDelegate;
101102
static chip::app::reporting::ReportSchedulerImpl sReportScheduler(&sTimerDelegate);
102103
initParams.reportScheduler = &sReportScheduler;
104+
static chip::SimpleTestEventTriggerDelegate sSimpleTestEventTriggerDelegate;
105+
initParams.testEventTriggerDelegate = &sSimpleTestEventTriggerDelegate;
103106
(void) initParams.InitializeStaticResourcesBeforeServerInit();
104107
err = chip::Server::GetInstance().Init(initParams);
105108

0 commit comments

Comments
 (0)