mirror of
https://github.com/yingziwu/mastodon.git
synced 2026-02-25 19:52:41 +00:00
Fix spurious notification of local boosters and quoters when updating quote policy (#36299)
This commit is contained in:
parent
a6236148d8
commit
45219dbf64
2 changed files with 2 additions and 2 deletions
|
|
@ -60,7 +60,7 @@ RSpec.describe 'Interaction policies' do
|
|||
)
|
||||
|
||||
expect(DistributionWorker)
|
||||
.to have_enqueued_sidekiq_job(status.id, { 'update' => true })
|
||||
.to have_enqueued_sidekiq_job(status.id, { 'update' => true, 'skip_notifications' => true })
|
||||
expect(ActivityPub::StatusUpdateDistributionWorker)
|
||||
.to have_enqueued_sidekiq_job(status.id, { 'updated_at' => anything })
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue