From fd3843d821582772db1dcc0ec0a202b0aa99be64 Mon Sep 17 00:00:00 2001 From: Marius Balteanu Date: Tue, 21 Nov 2023 06:45:54 +0000 Subject: Replace request_store with ActiveSupport::CurrentAttributes (#39110). Patch by Takashi Kato. git-svn-id: https://svn.redmine.org/redmine/trunk@22473 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- test/unit/jobs/destroy_projects_job_test.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/unit/jobs/destroy_projects_job_test.rb') diff --git a/test/unit/jobs/destroy_projects_job_test.rb b/test/unit/jobs/destroy_projects_job_test.rb index 9e2f3449e..b6809bb51 100644 --- a/test/unit/jobs/destroy_projects_job_test.rb +++ b/test/unit/jobs/destroy_projects_job_test.rb @@ -58,7 +58,7 @@ class DestroyProjectsJobTest < ActiveJob::TestCase assert_match /deleted successfully/, m.text_part.to_s else assert_enqueued_with( - job: ActionMailer::MailDeliveryJob, + job: Mailer::DeliveryJob, args: ->(job_args){ job_args[1] == 'security_notification' && job_args[3].to_s.include?("mail_destroy_project_with_subprojects_successful") -- cgit v1.2.3