File tree 1 file changed +3
-4
lines changed
1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -4116,13 +4116,12 @@ void TestReadInteraction::TestSubscriptionReportWithDefunctSession(nlTestSuite *
4116
4116
err = engine->Init (&ctx.GetExchangeManager (), &ctx.GetFabricTable ());
4117
4117
NL_TEST_ASSERT (apSuite, err == CHIP_NO_ERROR);
4118
4118
4119
+ AttributePathParams subscribePath (Test::kMockEndpoint3 , Test::MockClusterId (2 ), Test::MockAttributeId (4 ));
4120
+
4119
4121
ReadPrepareParams readPrepareParams (ctx.GetSessionBobToAlice ());
4120
- readPrepareParams.mpAttributePathParamsList = new chip::app::AttributePathParams[ 1 ] ;
4122
+ readPrepareParams.mpAttributePathParamsList = &subscribePath ;
4121
4123
readPrepareParams.mAttributePathParamsListSize = 1 ;
4122
4124
4123
- AttributePathParams subscribePath (Test::kMockEndpoint3 , Test::MockClusterId (2 ), Test::MockAttributeId (4 ));
4124
- readPrepareParams.mpAttributePathParamsList [0 ] = subscribePath;
4125
-
4126
4125
readPrepareParams.mMinIntervalFloorSeconds = 0 ;
4127
4126
readPrepareParams.mMaxIntervalCeilingSeconds = 0 ;
4128
4127
You can’t perform that action at this time.
0 commit comments