Remove Status/ivar/shapes regression check from test env (#30580)

This commit is contained in:
Matt Jankowski 2024-06-07 06:00:51 -04:00 committed by GitHub
parent 3dfc7267e2
commit a5e3b814a2
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -61,12 +61,6 @@ Rails.application.configure do
config.i18n.default_locale = :en config.i18n.default_locale = :en
config.i18n.fallbacks = true config.i18n.fallbacks = true
config.to_prepare do
# Force Status to always be SHAPE_TOO_COMPLEX
# Ref: https://github.com/mastodon/mastodon/issues/23644
10.times { |i| Status.allocate.instance_variable_set(:"@ivar_#{i}", nil) }
end
# Tell Active Support which deprecation messages to disallow. # Tell Active Support which deprecation messages to disallow.
config.active_support.disallowed_deprecation_warnings = [] config.active_support.disallowed_deprecation_warnings = []