diff --git a/services/ans/test/unittest/advanced_notification_publish_service_test.cpp b/services/ans/test/unittest/advanced_notification_publish_service_test.cpp index ad5fcf14e6a6fa26c99eafa1bb06ddbd4246984d..babddda32b19fdf7b7b15f510d1976414fb84594 100644 --- a/services/ans/test/unittest/advanced_notification_publish_service_test.cpp +++ b/services/ans/test/unittest/advanced_notification_publish_service_test.cpp @@ -1104,5 +1104,17 @@ HWTEST_F(AnsPublishServiceTest, CanPopEnableNotificationDialog_001, Function | S ASSERT_EQ(result, ERROR_INTERNAL_ERROR); } +/** + * @tc.name: CheckReminderListFlag_001 + * @tc.desc: Test CheckReminderListFlag + * @tc.type: FUNC + * @tc.require: issue + */ +HWTEST_F(AnsPublishServiceTest, CheckReminderListFlag, Function | SmallTest | Level1) +{ + std::string bundleName = "com.example.application"; + bool result = advancedNotificationService_->AllowUseReminder(bundleName); + ASSERT_EQ(result, true); +} } // namespace Notification } // namespace OHOS