update test/unittest/core_service_gtest/zero_branch_test.cpp.

Signed-off-by: Aurora <liuxiyao223@huawei.com>
This commit is contained in:
Aurora 2023-07-27 07:52:26 +00:00 committed by Gitee
parent b67b6fa37e
commit 7fed2bd42c
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -1503,7 +1503,7 @@ HWTEST_F(BranchTest, Telephony_NetworkRegister_002, Function | MediumTest | Leve
EXPECT_GT(
networkRegister->GetTechnologyByNrConfig(RadioTech::RADIO_TECHNOLOGY_LTE), RadioTech::RADIO_TECHNOLOGY_INVALID);
EXPECT_EQ(networkRegister->NotifyStateChange(), TELEPHONY_ERR_SUCCESS);
EXPECT_NE(networkRegister->RevertLastTechnology(), TELEPHONY_ERR_SUCCESS);
EXPECT_EQ(networkRegister->RevertLastTechnology(), TELEPHONY_ERR_SUCCESS);
EXPECT_EQ(networkRegister->GetSystemPropertiesConfig(config), TELEPHONY_ERR_SUCCESS);
}