1
0
mirror of https://github.com/meineerde/redmine.git synced 2026-02-18 17:42:00 +00:00

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
This commit is contained in:
Go MAEDA 2021-04-01 15:22:33 +00:00
parent 094628e694
commit 0037ad1afe

View File

@ -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"