fix test programming problem

Signed-off-by: zhangwenzhi <zhangwenzhi3@huawei.com>
This commit is contained in:
zhang-wenzhi821 2024-05-10 17:20:31 +08:00
parent 0f4f149a39
commit 28a2ba1c80
2 changed files with 2 additions and 2 deletions

View File

@ -91,7 +91,7 @@ HWTEST_F(AssetSystemAbilityWrapperTest, AssetSystemAbilityWrapperTest001, TestSi
OnAppRestore,
OnUserUnlocked
};
ASSERT_EQ(true, SubscribeSystemEvent(&call_back));
ASSERT_EQ(true, SubscribeSystemEvent(call_back));
}
/**

View File

@ -90,7 +90,7 @@ HWTEST_F(AssetSystemEventWrapperTest, AssetSystemEventWrapperTest001, TestSize.L
OnAppRestore,
OnUserUnlocked
};
ASSERT_EQ(true, SubscribeSystemEvent(&call_back));
ASSERT_EQ(true, SubscribeSystemEvent(call_back));
}
/**