From c76bd66c48913097566d8688b57cfb423f7444be Mon Sep 17 00:00:00 2001 From: Marius BALTEANU Date: Tue, 30 Mar 2021 10:55:11 +0300 Subject: [PATCH 14/19] Disable TestAdapter on IntegrationTest (#29914, #32936). --- test/test_helper.rb | 5 +++++ 1 file changed, 5 insertions(+) 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" -- 2.22.0