Skip to content

OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub

Cache classes and remove null cache store config.

Dombi Attila4ca1d093db53
diff --git a/config/environments/test.rb b/config/environments/test.rb
index f4538fbd3de..ac1970981f0 100644
--- a/config/environments/test.rb
+++ b/config/environments/test.rb
@@ -48,6 +48,7 @@ Rails.application.configure do
# 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 @@ Rails.application.configure do
# 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