Change notification requests to only count mentions (#31322)
This commit is contained in:
parent
fc964c9bfd
commit
af2aec1a82
3 changed files with 3 additions and 3 deletions
|
@ -9,7 +9,7 @@ RSpec.describe NotificationPolicy do
|
|||
let(:sender) { Fabricate(:account) }
|
||||
|
||||
before do
|
||||
Fabricate.times(2, :notification, account: subject.account, activity: Fabricate(:status, account: sender), filtered: true)
|
||||
Fabricate.times(2, :notification, account: subject.account, activity: Fabricate(:status, account: sender), filtered: true, type: :mention)
|
||||
Fabricate(:notification_request, account: subject.account, from_account: sender)
|
||||
subject.summarize!
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue