mirror of
https://github.com/mastodon/mastodon.git
synced 2024-11-29 00:12:38 +00:00
Remove Status/ivar/shapes regression check from test env (#30580)
This commit is contained in:
parent
3dfc7267e2
commit
a5e3b814a2
|
@ -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 = []
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue