fix: Mark notification as unread after the un-snooze (#8917)

This commit is contained in:
Muhsin Keloth
2024-02-16 17:30:54 +05:30
committed by GitHub
parent a902b49bc5
commit fe744abe26
2 changed files with 2 additions and 1 deletions

View File

@@ -17,6 +17,7 @@ RSpec.describe Notification::ReopenSnoozedNotificationsJob do
expect(snoozed_till_5_minutes_ago.reload.snoozed_until).to be_nil
expect(snoozed_till_tomorrow.reload.snoozed_until.to_date).to eq 1.day.from_now.to_date
expect(snoozed_indefinitely.reload.snoozed_until).to be_nil
expect(snoozed_indefinitely.reload.read_at).to be_nil
end
end
end