enable API for test

This commit is contained in:
proddy
2023-01-11 20:47:36 +01:00
parent c99aaf1e7d
commit 97451d2b7a
2 changed files with 21 additions and 18 deletions

View File

@@ -1385,8 +1385,7 @@ bool System::command_info(const char * value, const int8_t id, JsonObject & outp
#if defined(EMSESP_DEBUG)
// run a test, e.g. http://ems-esp/api?device=system&cmd=test&data=boiler
bool System::command_test(const char * value, const int8_t id) {
Test::run_test(value, id);
return true;
return Test::run_test(value, id);
}
#endif