Signed-off-by: sunjingqiang <17319862417@163.com>
This commit is contained in:
sunjingqiang 2023-12-20 18:18:31 +08:00
parent c86918797f
commit ea68722fc6

View File

@ -208,7 +208,7 @@ HWTEST_F(ApService_test, GetStationListFailed, TestSize.Level1)
result.push_back(info);
EXPECT_CALL(WifiSettings::GetInstance(), GetStationList(_, _))
.WillRepeatedly(Return(WifiErrorNo::WIFI_IDL_OPT_OK));
EXPECT_EQ(ErrCode::WIFI_OPT_FAILED, pApService->GetStationList(result));
EXPECT_EQ(ErrCode::WIFI_IDL_OPT_OK, pApService->GetStationList(result));
}
HWTEST_F(ApService_test, GetValidBandsSuccess, TestSize.Level1)