From abf82281b931680930dc0b70484b0c8c8cc1c837 Mon Sep 17 00:00:00 2001 From: jazairi <16103405+jazairi@users.noreply.github.com> Date: Mon, 6 Nov 2023 11:34:47 -0500 Subject: [PATCH] Adjust language in publication results email Why these changes are being introduced: The publication results email lists theses that were "sent to preservation." This language is inaccurate; the theses are queued for preservation at this point, and may not be sent to the Archivematica bucket if the preservation job fails. Relevant ticket(s): https://mitlibraries.atlassian.net/browse/ETD-645 How this addresses that need: This changes the language to "Total theses queued for preservation." Side effects of this change: This does nothing to confirm or report on which theses were actually sent to preservation. (ETD-646 will evaluate the best way to do this.) --- app/views/report_mailer/publication_results_email.html.erb | 2 +- test/mailers/report_mailer_test.rb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/views/report_mailer/publication_results_email.html.erb b/app/views/report_mailer/publication_results_email.html.erb index 12c855f7..0267a2e1 100644 --- a/app/views/report_mailer/publication_results_email.html.erb +++ b/app/views/report_mailer/publication_results_email.html.erb @@ -7,7 +7,7 @@ diff --git a/test/mailers/report_mailer_test.rb b/test/mailers/report_mailer_test.rb index 11a4e9a8..5759055f 100644 --- a/test/mailers/report_mailer_test.rb +++ b/test/mailers/report_mailer_test.rb @@ -38,7 +38,7 @@ class ReportMailerTest < ActionMailer::TestCase assert_match 'Total theses in output queue: 2', email.body.to_s assert_match 'Total theses updated: 1', email.body.to_s assert_match 'Errors found: 1', email.body.to_s - assert_match 'Total theses sent to preservation: 0', email.body.to_s + assert_match 'Total theses queued for preservation: 0', email.body.to_s assert_match 'Total theses exported as MARC: 1', email.body.to_s assert_match 'Couldn't find Thesis with 'id'=9999999999999', email.body.to_s end