1
0
Fork 0
mirror of https://github.com/mastodon/mastodon.git synced 2024-08-20 21:08:15 -07:00
This commit is contained in:
Jeong Arm 2024-02-15 15:03:19 +09:00
parent 31052e3fbe
commit ebb94eb7db

View file

@ -137,6 +137,7 @@ RSpec.describe ActivityPub::Activity::Create do
end
it 'ignores unprocessable mention', :aggregate_failures do
stub_request(:get, invalid_mention_json[:tag][:href]).to_return(status: 500)
# When receiving the post that contains an invalid mention…
described_class.new(activity_for_object(invalid_mention_json), sender, delivery: true).perform