diff --git a/src/app/tests/TestCommandInteraction.cpp b/src/app/tests/TestCommandInteraction.cpp index ad1d225f1cfdb6..ec30edcff90120 100644 --- a/src/app/tests/TestCommandInteraction.cpp +++ b/src/app/tests/TestCommandInteraction.cpp @@ -1568,7 +1568,8 @@ void TestCommandInteraction::TestCommandHandlerRejectMultipleIdenticalCommands(n ctx.DrainAndServiceIO(); NL_TEST_ASSERT(apSuite, - mockCommandSenderExtendedDelegate.onResponseCalledTimes == 0 && mockCommandSenderExtendedDelegate.onFinalCalledTimes == 1 && + mockCommandSenderExtendedDelegate.onResponseCalledTimes == 0 && + mockCommandSenderExtendedDelegate.onFinalCalledTimes == 1 && mockCommandSenderExtendedDelegate.onErrorCalledTimes == 1); NL_TEST_ASSERT(apSuite, !chip::isCommandDispatched);