From 1eac79d3e4573575a05bed18f0e6f6aa43aff83f Mon Sep 17 00:00:00 2001 From: Dombi Attila <83396+dombesz@users.noreply.github.com> Date: Fri, 26 Jan 2024 23:04:35 +0200 Subject: [PATCH] Cache classes and remove null cache store config. --- config/environments/test.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/environments/test.rb b/config/environments/test.rb index f4538fbd3def..ac1970981f0c 100644 --- a/config/environments/test.rb +++ b/config/environments/test.rb @@ -48,6 +48,7 @@ # recommended that you enable it in continuous integration systems to ensure eager # loading is working properly before deploying your code. config.eager_load = ENV['CI'].present? || ENV['EAGER_LOAD'].present? + config.cache_classes = ENV['CI'].present? || ENV['EAGER_LOAD'].present? # Configure public file server for tests with Cache-Control for performance. config.public_file_server.enabled = true @@ -56,7 +57,6 @@ # Show full error reports and disable caching. config.consider_all_requests_local = true config.action_controller.perform_caching = true - config.cache_store = :null_store # Render exception templates for rescuable exceptions and raise for other exceptions. config.action_dispatch.show_exceptions = :none