mirror of
https://github.com/glitch-soc/mastodon.git
synced 2025-12-14 08:19:05 +00:00
Change notification requests to only count mentions (#31322)
This commit is contained in:
@@ -8,7 +8,7 @@ RSpec.describe NotificationRequest do
|
||||
|
||||
context 'when there are remaining notifications' do
|
||||
before do
|
||||
Fabricate(:notification, account: subject.account, activity: Fabricate(:status, account: subject.from_account), filtered: true)
|
||||
Fabricate(:notification, account: subject.account, activity: Fabricate(:status, account: subject.from_account), filtered: true, type: :mention)
|
||||
subject.reconsider_existence!
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user