File tree Expand file tree Collapse file tree 2 files changed +4
-5
lines changed Expand file tree Collapse file tree 2 files changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -35,9 +35,6 @@ The information we have on record is listed below.</p>
3535< strong > Abstract:</ strong > < br >
3636<%= simple_format ( @thesis . abstract , { } , wrapper_tag : "p" ) %>
3737< strong > Notes:</ strong > <%= @thesis . author_note %> < br >
38- <% if satisfies_advanced_degree? ( @thesis ) %>
39- < strong > Consent to send thesis to ProQuest:</ strong > <%= render_proquest_status ( @thesis ) %>
40- <% end %>
4138</ div >
4239
4340< p > Let us know if you have any questions. And again, congratulations
Original file line number Diff line number Diff line change @@ -18,7 +18,9 @@ class ReceiptMailerTest < ActionMailer::TestCase
1818 end
1919 end
2020
21- test 'confirmation emails for graduate theses include ProQuest consent' do
21+ # This used to be a test that the emails _do_ include ProQuest consent, but we removed that feature in December 2024.
22+ # This test is to ensure that grad students do not see a nonexistent metadata field in their receipt email.
23+ test 'confirmation emails for graduate theses do not include ProQuest consent' do
2224 ClimateControl . modify DISABLE_ALL_EMAIL : 'false' do
2325 thesis = theses ( :doctor )
2426 user = users ( :basic )
@@ -29,7 +31,7 @@ class ReceiptMailerTest < ActionMailer::TestCase
2931 email . deliver_now
3032 end
3133
32- assert_match '<strong>Consent to send thesis to ProQuest:</strong> Opt-in status not reconciled ' , email . body . to_s
34+ refute_match '<strong>Consent to send thesis to ProQuest:</strong>' , email . body . to_s
3335 end
3436 end
3537
You can’t perform that action at this time.
0 commit comments