diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2018-10-06 16:07:45 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2018-10-06 16:07:45 +0000 |
commit | 5533eeff239e024539f3ddd5b2ffe3528144beef (patch) | |
tree | 6e9db37cec7f40489946649469bf531b268035a8 /config/environments/test.rb | |
parent | e159928e6b81c02001411e7e886208533178c0ba (diff) | |
download | redmine-5533eeff239e024539f3ddd5b2ffe3528144beef.tar.gz redmine-5533eeff239e024539f3ddd5b2ffe3528144beef.zip |
Fixed that test_email raises an error with #deliver_later (#26791).
git-svn-id: http://svn.redmine.org/redmine/trunk@17587 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'config/environments/test.rb')
-rw-r--r-- | config/environments/test.rb | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/config/environments/test.rb b/config/environments/test.rb index 645996dce..e1a3252b0 100644 --- a/config/environments/test.rb +++ b/config/environments/test.rb @@ -22,6 +22,9 @@ Rails.application.configure do # The :test delivery method accumulates sent emails in the # ActionMailer::Base.deliveries array. config.action_mailer.delivery_method = :test + + # Disable Async delivery + config.active_job.queue_adapter = :inline # Disable request forgery protection in test environment. config.action_controller.allow_forgery_protection = false |