Skip to content

Commit

Permalink
Fix Darwin test failures
Browse files Browse the repository at this point in the history
  • Loading branch information
pan-apple committed Aug 3, 2021
1 parent 6de5d1b commit 4f1d93d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/darwin/Framework/CHIP/templates/helper.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ const StringHelper = require('../../../../../src/app/zap-templates/common/Str
function asExpectedEndpointForCluster(clusterName)
{
switch (clusterName) {
case 'AdministratorCommissioning':
case 'Basic':
case 'Descriptor':
case 'GeneralCommissioning':
Expand Down
2 changes: 1 addition & 1 deletion src/darwin/Framework/CHIPTests/CHIPClustersTests.m
Original file line number Diff line number Diff line change
Expand Up @@ -5284,7 +5284,7 @@ - (void)testSendClusterAdministratorCommissioningReadAttributeClusterRevisionWit
CHIPDevice * device = GetPairedDevice(kDeviceId);
dispatch_queue_t queue = dispatch_get_main_queue();
CHIPAdministratorCommissioning * cluster = [[CHIPAdministratorCommissioning alloc] initWithDevice:device
endpoint:1
endpoint:0
queue:queue];
XCTAssertNotNil(cluster);

Expand Down

0 comments on commit 4f1d93d

Please sign in to comment.