unit test refactor

Signed-off-by: Nicolas <languoguang@huawei.com>
This commit is contained in:
Nicolas 2024-03-26 21:51:25 +08:00
parent dca41e53e9
commit e73eea08c8

View File

@ -645,6 +645,7 @@ HWTEST_F(BgTaskMiscUnitTest, ConfigChangeObserver_003, TestSize.Level1)
// When & Then
EXPECT_TRUE(configChangeObserver3->CheckExpired());
AppExecFwk::Configuration configuration;
configChangeObserver3->OnConfigurationUpdated(configuration);
SUCCEED();
}