diff --git a/frameworks/ans/test/unittest/notification_helper_test.cpp b/frameworks/ans/test/unittest/notification_helper_test.cpp index 5d62063c1a42d03feaa8bdf304461fa2766a7a32..800e197e0555da7a3485423dbc5c0db1d0546bfd 100644 --- a/frameworks/ans/test/unittest/notification_helper_test.cpp +++ b/frameworks/ans/test/unittest/notification_helper_test.cpp @@ -886,21 +886,6 @@ HWTEST_F(NotificationHelperTest, IsSupportTemplate_00001, Function | SmallTest | EXPECT_EQ(ret, (int)ERR_OK); } -/** - * @tc.name: IsAllowedNotify_00003 - * @tc.desc: Test IsAllowedNotify parameters. - * @tc.type: FUNC - * @tc.require: issueI5WRQ2 - */ -HWTEST_F(NotificationHelperTest, IsAllowedNotify_00003, Function | SmallTest | Level1) -{ - int32_t userId = 10; - bool allowed = true; - NotificationHelper notificationHelper; - ErrCode ret = notificationHelper.IsAllowedNotify(userId, allowed); - EXPECT_EQ(ret, (int)ERR_OK); -} - /** * @tc.name: SetNotificationsEnabledForAllBundles_00002 * @tc.desc: Test SetNotificationsEnabledForAllBundles parameters. diff --git a/frameworks/ans/test/unittest/reminder_request_alarm_test.cpp b/frameworks/ans/test/unittest/reminder_request_alarm_test.cpp index a3c2ba18c301914d25b8dd0f095a118ecc809d23..4b825cf7942dda101bb50883bae382c417502fda 100644 --- a/frameworks/ans/test/unittest/reminder_request_alarm_test.cpp +++ b/frameworks/ans/test/unittest/reminder_request_alarm_test.cpp @@ -282,19 +282,5 @@ HWTEST_F(ReminderRequestAlarmTest, ReadFromParcel_00001, Function | SmallTest | auto rrc = std::make_shared(0, 0, daysOfWeek); EXPECT_EQ(rrc->ReadFromParcel(parcel), false); } - -/** - * @tc.name: OnTimeZoneChange_00100 - * @tc.desc: Test OnTimeZoneChange parameters. - * @tc.type: FUNC - * @tc.require: issue - */ -HWTEST_F(ReminderRequestAlarmTest, OnTimeZoneChange_00100, Function | SmallTest | Level1) -{ - uint8_t arr[] = {}; - std::vector daysOfWeek (arr, arr + sizeof(arr) / sizeof(uint8_t)); - auto rrc = std::make_shared(0, 0, daysOfWeek); - EXPECT_EQ(rrc->OnTimeZoneChange(), false); -} } } \ No newline at end of file