Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
jlatusek committed May 24, 2024
1 parent 71bc5b7 commit fb3758f
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 2 deletions.
8 changes: 7 additions & 1 deletion src/protocols/secure_channel/tests/TestCASESession.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,13 @@ class TestCASESession : public Test::LoopbackMessagingContext, public ::testing:
static void SetUpTestSuite();
// Performs shared teardown for all tests in the test suite
static void TearDownTestSuite();
virtual void SetUp() override { chip::Test::LoopbackMessagingContext::SetUp(); }

virtual void SetUp() override
{
ConfigInitializeNodes(false);
chip::Test::LoopbackMessagingContext::SetUp();
}

virtual void TearDown() override { chip::Test::LoopbackMessagingContext::TearDown(); }

void ServiceEvents();
Expand Down
6 changes: 5 additions & 1 deletion src/protocols/secure_channel/tests/TestPASESession.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,11 @@ class TestPASESession : public chip::Test::LoopbackMessagingContext, public ::te
static void SetUpTestSuite() { chip::Test::LoopbackMessagingContext::SetUpTestSuite(); }
static void TearDownTestSuite() { chip::Test::LoopbackMessagingContext::TearDownTestSuite(); }

void SetUp() override { chip::Test::LoopbackMessagingContext::SetUp(); }
void SetUp() override
{
ConfigInitializeNodes(false);
chip::Test::LoopbackMessagingContext::SetUp();
}

void TearDown() override { chip::Test::LoopbackMessagingContext::TearDown(); }

Expand Down

0 comments on commit fb3758f

Please sign in to comment.