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"