Skip to content

Draft: Call use_fake_application_settings earlier

What does this MR do and why?

!101613 (merged) moved moved the schema_migrate_down! to spec/suport/multiple_databases.rb, but use_fake_application_settings needs to be called before the schema is migrated down. This may be necessary to ensure all the attribute methods are defined since ApplicationSetting may be loaded from memory.

Relates to #378582 (closed)

How to set up and validate locally

Not sure how to reproduce the issue in #378582 (closed), but this is a try to fix it.

Edited by Stan Hu

Merge request reports