Change quote verification to not bypass authorization flow for mentions (#35528)
This commit is contained in:
parent
77d2cdb302
commit
6ff4e83937
5 changed files with 6 additions and 16 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue