mastodon/spec/controllers/admin
Claire 21a1a8ee88
Fix crash when marking statuses as sensitive while some statuses are deleted (#22134)
* Do not offer to mark statuses as sensitive if there is no undeleted status with media attachments

* Fix crash when marking statuses as sensitive while some statuses are deleted

Fixes #21910

* Fix multiple strikes being created for a single report when selecting “Mark as sensitive”

* Add tests
2023-01-13 10:46:52 +01:00
..
disputes
reports
settings
users
account_moderation_notes_controller_spec.rb
accounts_controller_spec.rb
action_logs_controller_spec.rb
base_controller_spec.rb
change_email_controller_spec.rb
confirmations_controller_spec.rb
custom_emojis_controller_spec.rb
dashboard_controller_spec.rb
domain_allows_controller_spec.rb
domain_blocks_controller_spec.rb
email_domain_blocks_controller_spec.rb
export_domain_allows_controller_spec.rb
export_domain_blocks_controller_spec.rb
instances_controller_spec.rb
invites_controller_spec.rb
report_notes_controller_spec.rb
reports_controller_spec.rb
resets_controller_spec.rb
roles_controller_spec.rb
statuses_controller_spec.rb
tags_controller_spec.rb