2
0

Change quote verification to not bypass authorization flow for mentions (#35528)

This commit is contained in:
Claire
2025-07-31 09:39:53 +02:00
committed by GitHub
parent 2131d1ff23
commit 572a0e128d
7 changed files with 13 additions and 31 deletions

View File

@@ -267,9 +267,9 @@ RSpec.describe ActivityPub::VerifyQuoteService do
quoted_status.mentions << Mention.new(account: account)
end
it 'updates the status' do
it 'does not the status' do
expect { subject.call(quote) }
.to change(quote, :state).to('accepted')
.to_not change(quote, :state).from('pending')
end
end
end