summaryrefslogtreecommitdiff
path: root/config/environments
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2020-02-20 21:08:48 +0000
committerGitLab Bot <gitlab-bot@gitlab.com>2020-02-20 21:08:48 +0000
commit4d0c47058a89d71d3417ad3bd73781882c8998e8 (patch)
tree808679f68ca8a8511d12779cf618785d6978be81 /config/environments
parentdf2eda3f14dccb703bd7054d4ddde7803cb1fe7e (diff)
downloadgitlab-ce-4d0c47058a89d71d3417ad3bd73781882c8998e8.tar.gz
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'config/environments')
-rw-r--r--config/environments/test.rb3
1 files changed, 3 insertions, 0 deletions
diff --git a/config/environments/test.rb b/config/environments/test.rb
index d8235c6220c..0ee2c6a2a20 100644
--- a/config/environments/test.rb
+++ b/config/environments/test.rb
@@ -1,3 +1,6 @@
+require 'gitlab/testing/request_blocker_middleware'
+require 'gitlab/testing/request_inspector_middleware'
+
Rails.application.configure do
# Make sure the middleware is inserted first in middleware chain
config.middleware.insert_before(ActionDispatch::Static, Gitlab::Testing::RequestBlockerMiddleware)