mirror of
https://github.com/redmine/redmine.git
synced 2026-05-07 18:17:27 +02:00
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
This commit is contained in:
@@ -58,7 +58,7 @@ class DestroyProjectJobTest < 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")
|
||||
|
||||
@@ -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")
|
||||
|
||||
Reference in New Issue
Block a user