diff options
author | Marius Balteanu <marius.balteanu@zitec.com> | 2023-11-21 06:45:54 +0000 |
---|---|---|
committer | Marius Balteanu <marius.balteanu@zitec.com> | 2023-11-21 06:45:54 +0000 |
commit | fd3843d821582772db1dcc0ec0a202b0aa99be64 (patch) | |
tree | 7eb091ed9879c0ac3aea165decabb098138e25df /test/unit/jobs/destroy_projects_job_test.rb | |
parent | f5d68651a06abf004552654dfdcd9c41f57ffb05 (diff) | |
download | redmine-fd3843d821582772db1dcc0ec0a202b0aa99be64.tar.gz redmine-fd3843d821582772db1dcc0ec0a202b0aa99be64.zip |
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
Diffstat (limited to 'test/unit/jobs/destroy_projects_job_test.rb')
-rw-r--r-- | test/unit/jobs/destroy_projects_job_test.rb | 2 |
1 files changed, 1 insertions, 1 deletions
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") |