From 9657d082cb1426c798f95f11cd300790b18c223a Mon Sep 17 00:00:00 2001 From: Parvathi Date: Mon, 18 Nov 2024 15:10:24 +0530 Subject: [PATCH] editing the unit test file to resolve error --- Tests/unittest/test_connectivity.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/Tests/unittest/test_connectivity.cpp b/Tests/unittest/test_connectivity.cpp index d3041a89..f89a06db 100644 --- a/Tests/unittest/test_connectivity.cpp +++ b/Tests/unittest/test_connectivity.cpp @@ -74,6 +74,7 @@ TEST_F(ConnectivityMonitorTest, SetEndpoints_Valid) { std::vector endpoints = {"http://example.com", "http://test.com"}; cm.setConnectivityMonitorEndpoints(endpoints); EXPECT_EQ(cm.getConnectivityMonitorEndpoints(), endpoints); +} TEST_F(ConnectivityMonitorTest, SetEndpoints_EmptyList) { std::vector endpoints; cm.setConnectivityMonitorEndpoints(endpoints);