Skip to content

Commit

Permalink
Update test
Browse files Browse the repository at this point in the history
  • Loading branch information
tennessee-google committed Jan 23, 2024
1 parent 7072705 commit ffa32db
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions src/app/clusters/test-cluster-server/test-cluster-server.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -786,6 +786,16 @@ bool emberAfUnitTestingClusterTestDifferentVendorMeiRequestCallback(
{
Commands::TestDifferentVendorMeiResponse::Type response;

{
Events::TestDifferentVendorMeiEvent::Type event{ commandData.arg1 };

if (CHIP_NO_ERROR != LogEvent(event, commandPath.mEndpointId, response.evenNumber))
{
commandObj->AddStatus(commandPath, Status::Failure);
return true;
}
}

response.arg1 = commandData.arg1;
commandObj->AddResponse(commandPath, response);
return true;
Expand Down

0 comments on commit ffa32db

Please sign in to comment.