From 96d7069e8d2e9e05870985763b80f8ef1bfda32c Mon Sep 17 00:00:00 2001 From: proddy Date: Fri, 21 Jul 2023 22:44:27 +0100 Subject: [PATCH] make standalone compile --- src/test/test.cpp | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/src/test/test.cpp b/src/test/test.cpp index 4ee9df204..556500516 100644 --- a/src/test/test.cpp +++ b/src/test/test.cpp @@ -613,7 +613,7 @@ void Test::run_test(uuid::console::Shell & shell, const std::string & cmd, const Mqtt::ha_enabled(false); Mqtt::nested_format(1); - Mqtt::send_response(false); + // Mqtt::send_response(false); run_test("boiler"); // run_test("thermostat"); @@ -633,7 +633,7 @@ void Test::run_test(uuid::console::Shell & shell, const std::string & cmd, const Mqtt::ha_enabled(true); Mqtt::nested_format(1); - Mqtt::send_response(false); + // Mqtt::send_response(false); run_test("boiler"); run_test("thermostat"); @@ -703,7 +703,7 @@ void Test::run_test(uuid::console::Shell & shell, const std::string & cmd, const shell.printfln("Testing custom entities"); Mqtt::ha_enabled(true); - Mqtt::send_response(false); + // Mqtt::send_response(false); run_test("thermostat"); @@ -734,7 +734,7 @@ void Test::run_test(uuid::console::Shell & shell, const std::string & cmd, const shell.printfln("Testing masked entities"); Mqtt::ha_enabled(true); - Mqtt::send_response(false); + // Mqtt::send_response(false); run_test("boiler"); @@ -759,7 +759,7 @@ void Test::run_test(uuid::console::Shell & shell, const std::string & cmd, const shell.printfln("Testing device value lost"); Mqtt::ha_enabled(true); - Mqtt::send_response(false); + // Mqtt::send_response(false); run_test("boiler"); @@ -780,7 +780,7 @@ void Test::run_test(uuid::console::Shell & shell, const std::string & cmd, const shell.printfln("Testing API getting values"); Mqtt::ha_enabled(false); Mqtt::nested_format(1); - Mqtt::send_response(false); + // Mqtt::send_response(false); // EMSESP::bool_format(BOOL_FORMAT_10); // BOOL_FORMAT_10_STR EMSESP::system_.bool_format(BOOL_FORMAT_TRUEFALSE); // BOOL_FORMAT_TRUEFALSE_STR @@ -813,7 +813,7 @@ void Test::run_test(uuid::console::Shell & shell, const std::string & cmd, const shell.printfln("Testing MQTT incoming changes"); Mqtt::ha_enabled(false); Mqtt::nested_format(1); - Mqtt::send_response(false); + // Mqtt::send_response(false); EMSESP::system_.bool_format(BOOL_FORMAT_10); // BOOL_FORMAT_10_STR // EMSESP::bool_format(BOOL_FORMAT_TRUEFALSE); // BOOL_FORMAT_TRUEFALSE_STR @@ -851,7 +851,7 @@ void Test::run_test(uuid::console::Shell & shell, const std::string & cmd, const // Mqtt::ha_enabled(false); Mqtt::nested_format(1); - Mqtt::send_response(true); + // Mqtt::send_response(true); run_test("boiler"); run_test("thermostat");