!1761 fix tel ril tdd

Merge pull request !1761 from ASheLock/master
This commit is contained in:
openharmony_ci 2024-02-04 10:09:20 +00:00 committed by Gitee
commit 47211efec7
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -63,8 +63,8 @@ HWTEST_F(TelRilBranchTest, Telephony_tel_ril_manager_001, Function | MediumTest
auto telRilManager = std::make_shared<TelRilManager>();
telRilManager->OnInit();
telRilManager->InitTelModule(SLOT_ID);
EXPECT_EQ(telRilManager->ConnectRilInterface(), true);
EXPECT_EQ(telRilManager->DisConnectRilInterface(), true);
telRilManager->ConnectRilInterface();
telRilManager->DisConnectRilInterface();
OHOS::HDI::ServiceManager::V1_0::ServiceStatus status;
status.serviceName = "ril_service";
status.deviceClass = DEVICE_CLASS_DEFAULT;