Skip to content

Commit

Permalink
Update test_UpdateOTA.hpp
Browse files Browse the repository at this point in the history
  • Loading branch information
ronny-antoon committed Apr 7, 2024
1 parent b3276a9 commit c9f90a8
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion test/test_UpdateOTA.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
#include <gtest/gtest.h>

#include "UpdateOTA.hpp"
#include "MultiPrinterLogger.hpp"

class UpdateOTATest : public ::testing::Test
{
Expand All @@ -15,11 +16,15 @@ class UpdateOTATest : public ::testing::Test
const char *WIFI_SSID = "Wokwi-GUEST";
const char *WIFI_PASSWORD = "";
const int WIFI_CHANNEL = 6;
MultiPrinterLogger *logger = new MultiPrinterLogger();
logger->addPrinter(Serial);
logger->setLogLevel(MultiPrinterLoggerInterface::LogLevel::VERBOSE);


void SetUp() override
{
// Initialize UpdateOTA
_updateOTA = new UpdateOTA();
_updateOTA = new UpdateOTA(logger);
}

void TearDown() override
Expand Down

0 comments on commit c9f90a8

Please sign in to comment.