Silence unnecessary warning about sqlite3

This test uses sqlite3 in production mode which results in a warning in
the test output. This change sets the config option for silencing this
warning so we don't see it in test output.
This commit is contained in:
eileencodes 2023-07-05 11:01:33 -04:00
parent 495cbe9f8f
commit c933cc4a41
No known key found for this signature in database
GPG Key ID: BA5C575120BBE8DF

@ -418,6 +418,7 @@ def test_initialize_can_be_called_at_any_time
end
test "active record query cache hooks are installed before first request in production" do
add_to_config "config.active_record.sqlite3_production_warning = false"
app_file "app/controllers/omg_controller.rb", <<-RUBY
begin
class OmgController < ActionController::Metal