diff options
author | Go MAEDA <maeda@farend.jp> | 2021-04-01 15:22:33 +0000 |
---|---|---|
committer | Go MAEDA <maeda@farend.jp> | 2021-04-01 15:22:33 +0000 |
commit | 0037ad1afe9726a449c70473de1933fd1132738a (patch) | |
tree | 1d6cdacdf47422ea9ebf7c394784fa421296d2f0 /test | |
parent | 094628e6947e9a6cf889d01ed34cfbf32e1d73b8 (diff) | |
download | redmine-0037ad1afe9726a449c70473de1933fd1132738a.tar.gz redmine-0037ad1afe9726a449c70473de1933fd1132738a.zip |
Disable TestAdapter on IntegrationTest (#29914, #32936).
Patch by Pavel Rosický.
git-svn-id: http://svn.redmine.org/redmine/trunk@20893 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test')
-rw-r--r-- | test/test_helper.rb | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/test/test_helper.rb b/test/test_helper.rb index 0a5ddb5d9..10f4f6e35 100644 --- a/test/test_helper.rb +++ b/test/test_helper.rb @@ -392,6 +392,11 @@ module Redmine end class IntegrationTest < ActionDispatch::IntegrationTest + def setup + ActionMailer::MailDeliveryJob.disable_test_adapter + super + end + def log_user(login, password) User.anonymous get "/login" |