From c92d8e5f6157b6305b3cf385cdc9678953bdf0f3 Mon Sep 17 00:00:00 2001 From: Jeff Tung <100387939+jtung-apple@users.noreply.github.com> Date: Thu, 16 May 2024 07:41:56 -0700 Subject: [PATCH] Update MTRPerControllerStorageTests.m Co-authored-by: Boris Zbarsky --- src/darwin/Framework/CHIPTests/MTRPerControllerStorageTests.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/darwin/Framework/CHIPTests/MTRPerControllerStorageTests.m b/src/darwin/Framework/CHIPTests/MTRPerControllerStorageTests.m index c871ae353300a1..c4422ed529f08b 100644 --- a/src/darwin/Framework/CHIPTests/MTRPerControllerStorageTests.m +++ b/src/darwin/Framework/CHIPTests/MTRPerControllerStorageTests.m @@ -2132,7 +2132,7 @@ - (void)doTestSubscriptionPoolWithSize:(NSInteger)subscriptionPoolSize XCTAssertEqual(subscriptionDequeueCount, orderedDeviceIDs.count); // Reset our commissionees. - for (NSNumber * deviceID in deviceOnboardingPayloads) { + for (NSNumber * deviceID in orderedDeviceIDs) { __auto_type * baseDevice = [MTRBaseDevice deviceWithNodeID:deviceID controller:controller]; ResetCommissionee(baseDevice, queue, self, kTimeoutInSeconds); }