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

Do not disable caching classes as it seems to make tests fail on CI

Christophe Bliard020e8dfaae79
diff --git a/config/environments/test.rb b/config/environments/test.rb
index 9d0d09cbe02..2ac8d639f9a 100644
--- a/config/environments/test.rb
+++ b/config/environments/test.rb
@@ -111,10 +111,6 @@ Rails.application.configure do
config.cache_store = :file_store, Rails.root.join("tmp", "cache", "paralleltests#{ENV.fetch('TEST_ENV_NUMBER', nil)}")
- # Spring reloads, and therefore needs the application to not cache classes so
- # that relaoding can work.
- config.cache_classes = false
-
# Use in-memory store for testing
Rack::Attack.cache.store = ActiveSupport::Cache::MemoryStore.new