Skip to content

Commit

Permalink
fix error adding testcases
Browse files Browse the repository at this point in the history
  • Loading branch information
parvathika committed Dec 19, 2024
1 parent d1a08d7 commit f7a227c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Tests/unit_test/test_LegacyPlugin_WiFiManagerAPIs.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -88,8 +88,8 @@ TEST_F(WiFiManagerInitializedTest, stopScan)

TEST_F(WiFiManagerInitializedTest, connect)
{
EXPECT_EQ(Core::ERROR_GENERAL, handler.Invoke(connection, _T("connect"), _T("{}"), response));
EXPECT_EQ(response, string("{\"success\":false}"));
EXPECT_EQ(Core::ERROR_UNAVAILABLE, handler.Invoke(connection, _T("connect"), _T("{}"), response));
EXPECT_EQ(response, string(""));
}

/*TEST_F(WiFiManagerInitializedTest, disconnect)
Expand Down

0 comments on commit f7a227c

Please sign in to comment.