From c7a76f90ea41301692f5ab8a9e01c3bca1e1b123 Mon Sep 17 00:00:00 2001 From: Proddy Date: Thu, 23 Feb 2023 19:25:28 +0100 Subject: [PATCH] updated tests for mqtt --- src/test/test.cpp | 6 +++--- src/test/test.h | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/test/test.cpp b/src/test/test.cpp index 9c70310f7..c85e4aad6 100644 --- a/src/test/test.cpp +++ b/src/test/test.cpp @@ -265,10 +265,10 @@ void Test::run_test(uuid::console::Shell & shell, const std::string & cmd, const if (command == "general") { shell.printfln("Testing adding a general boiler & thermostat..."); run_test("general"); - shell.invoke_command("show devices"); - shell.invoke_command("show values"); + // shell.invoke_command("show devices"); + // shell.invoke_command("show values"); shell.invoke_command("call system publish"); - shell.invoke_command("show mqtt"); + // shell.invoke_command("show mqtt"); ok = true; } diff --git a/src/test/test.h b/src/test/test.h index 2404bd95f..c2c5d7b0a 100644 --- a/src/test/test.h +++ b/src/test/test.h @@ -30,7 +30,7 @@ namespace emsesp { // #define EMSESP_DEBUG_DEFAULT "solar" // #define EMSESP_DEBUG_DEFAULT "web" // #define EMSESP_DEBUG_DEFAULT "mqtt" -// #define EMSESP_DEBUG_DEFAULT "general" +#define EMSESP_DEBUG_DEFAULT "general" // #define EMSESP_DEBUG_DEFAULT "boiler" // #define EMSESP_DEBUG_DEFAULT "mqtt2" // #define EMSESP_DEBUG_DEFAULT "mqtt_nested" @@ -52,7 +52,7 @@ namespace emsesp { // #define EMSESP_DEBUG_DEFAULT "api_wwmode" // #define EMSESP_DEBUG_DEFAULT "custom" // #define EMSESP_DEBUG_DEFAULT "entity_dump" -#define EMSESP_DEBUG_DEFAULT "memory" +// #define EMSESP_DEBUG_DEFAULT "memory" class Test { public: