From 240f3a7e2eef9c96adb703c53c383bfa73781623 Mon Sep 17 00:00:00 2001 From: James Swan <122404367+swan-amazon@users.noreply.github.com> Date: Thu, 1 Aug 2024 21:55:54 +0000 Subject: [PATCH] --- src/app/tests/TestDefaultEnhancedSetupFlowProvider.cpp | 5 +++-- src/app/tests/TestDefaultTermsAndConditionsProvider.cpp | 5 +++-- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/src/app/tests/TestDefaultEnhancedSetupFlowProvider.cpp b/src/app/tests/TestDefaultEnhancedSetupFlowProvider.cpp index a394177d403642..4a368d52a4d22a 100644 --- a/src/app/tests/TestDefaultEnhancedSetupFlowProvider.cpp +++ b/src/app/tests/TestDefaultEnhancedSetupFlowProvider.cpp @@ -15,8 +15,9 @@ * limitations under the License. */ -#define CHIP_CONFIG_TC_REQUIRED_ACKNOWLEDGEMENTS 1 -#define CHIP_CONFIG_TC_REQUIRED_ACKNOWLEDGEMENTS_VERSION 1 +#define CHIP_CONFIG_TC_REQUIRED 1 // Enable conditional feature for testing +#define CHIP_CONFIG_TC_REQUIRED_ACKNOWLEDGEMENTS 0 // Dummy define to satisfy #error check +#define CHIP_CONFIG_TC_REQUIRED_ACKNOWLEDGEMENTS_VERSION 0 // Dummy define to satisfy #error check #include "app/server/DefaultEnhancedSetupFlowProvider.h" diff --git a/src/app/tests/TestDefaultTermsAndConditionsProvider.cpp b/src/app/tests/TestDefaultTermsAndConditionsProvider.cpp index 714f01e72073b3..536c1319a4ccbc 100644 --- a/src/app/tests/TestDefaultTermsAndConditionsProvider.cpp +++ b/src/app/tests/TestDefaultTermsAndConditionsProvider.cpp @@ -16,8 +16,9 @@ * limitations under the License. */ -#define CHIP_CONFIG_TC_REQUIRED_ACKNOWLEDGEMENTS 1 -#define CHIP_CONFIG_TC_REQUIRED_ACKNOWLEDGEMENTS_VERSION 1 +#define CHIP_CONFIG_TC_REQUIRED 1 // Enable conditional feature for testing +#define CHIP_CONFIG_TC_REQUIRED_ACKNOWLEDGEMENTS 0 // Dummy define to satisfy #error check +#define CHIP_CONFIG_TC_REQUIRED_ACKNOWLEDGEMENTS_VERSION 0 // Dummy define to satisfy #error check #include "app/server/DefaultTermsAndConditionsProvider.h"