From 66d4203791a01fdedf668a78818a229ea2c07aad Mon Sep 17 00:00:00 2001 From: GitLab Bot Date: Wed, 26 Feb 2020 09:08:47 +0000 Subject: Add latest changes from gitlab-org/gitlab@master --- config/environments/test.rb | 2 ++ 1 file changed, 2 insertions(+) (limited to 'config') diff --git a/config/environments/test.rb b/config/environments/test.rb index 0ee2c6a2a20..71cd5200415 100644 --- a/config/environments/test.rb +++ b/config/environments/test.rb @@ -1,10 +1,12 @@ require 'gitlab/testing/request_blocker_middleware' require 'gitlab/testing/request_inspector_middleware' +require 'gitlab/testing/clear_thread_memory_cache_middleware' Rails.application.configure do # Make sure the middleware is inserted first in middleware chain config.middleware.insert_before(ActionDispatch::Static, Gitlab::Testing::RequestBlockerMiddleware) config.middleware.insert_before(ActionDispatch::Static, Gitlab::Testing::RequestInspectorMiddleware) + config.middleware.insert_before(ActionDispatch::Static, Gitlab::Testing::ClearThreadMemoryCacheMiddleware) # Settings specified here will take precedence over those in config/application.rb -- cgit v1.2.1