Skip to content

Commit

Permalink
Revert One Login pre-release email
Browse files Browse the repository at this point in the history
This reverts commit 13c4877, reversing
changes made to 4baeb04.
  • Loading branch information
elceebee committed Jan 20, 2025
1 parent c622447 commit 072f149
Show file tree
Hide file tree
Showing 9 changed files with 0 additions and 127 deletions.
9 changes: 0 additions & 9 deletions app/mailers/candidate_mailer.rb
Original file line number Diff line number Diff line change
Expand Up @@ -513,15 +513,6 @@ def apply_to_multiple_courses_after_30_working_days(application_form)
)
end

def one_login_is_coming(application_form)
@application_form = application_form

email_for_candidate(
@application_form,
subject: I18n.t!('candidate_mailer.one_login_is_coming.subject'),
)
end

private

def email_for_candidate(application_form, args = {})
Expand Down
19 changes: 0 additions & 19 deletions app/views/candidate_mailer/one_login_is_coming.text.erb

This file was deleted.

36 changes: 0 additions & 36 deletions app/workers/send_candidate_one_login_is_coming_email_worker.rb

This file was deleted.

1 change: 0 additions & 1 deletion config/clock.rb
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,6 @@ class Clock
every(1.day, 'SendApplyToAnotherCourseWhenInactiveEmailToCandidatesWorker', at: '10:00') { SendApplyToAnotherCourseWhenInactiveEmailToCandidatesWorker.perform_async }
every(1.day, 'SendApplyToMultipleCoursesWhenInactiveEmailToCandidatesWorker', at: '10:00') { SendApplyToMultipleCoursesWhenInactiveEmailToCandidatesWorker.perform_async }
every(1.day, 'DfE::Analytics::EntityTableCheckJob', at: '00:30') { DfE::Analytics::EntityTableCheckJob.perform_later }
every(1.day, 'SendCandidateOneLoginIsComingEmailWorker', at: '00:31') { SendCandidateOneLoginIsComingEmailWorker.perform_async }

# End of cycle application choice status jobs
# Changes unsubmitted application choices to 'application_not_sent'
Expand Down
2 changes: 0 additions & 2 deletions config/locales/emails/candidate_mailer.yml
Original file line number Diff line number Diff line change
Expand Up @@ -95,5 +95,3 @@ en:
subject: Get help with your personal statement
apply_to_course_after_inactivity:
subject: Increase your chances of receiving an offer for teacher training
one_login_is_coming:
subject: How you sign into Apply for teacher training is changing
5 changes: 0 additions & 5 deletions spec/mailers/previews/candidate_mailer_preview.rb
Original file line number Diff line number Diff line change
Expand Up @@ -549,11 +549,6 @@ def apply_to_multiple_courses_after_30_working_days
CandidateMailer.apply_to_multiple_courses_after_30_working_days(application_form)
end

def one_login_is_coming
application_form = FactoryBot.build(:application_form, first_name: 'Bob')
CandidateMailer.one_login_is_coming(application_form)
end

private

def candidate
Expand Down
1 change: 0 additions & 1 deletion spec/system/support_interface/docs_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,6 @@ def and_i_see_the_provider_flow_documentation
def and_it_contains_documentation_for_all_emails
emails_outside_of_states = %w[
provider_mailer-fallback_sign_in_email
candidate_mailer-one_login_is_coming
candidate_mailer-eoc_first_deadline_reminder
candidate_mailer-eoc_second_deadline_reminder
candidate_mailer-application_deadline_has_passed
Expand Down

This file was deleted.

12 changes: 0 additions & 12 deletions spec/workers/send_one_login_is_coming_email_batch_worker_spec.rb

This file was deleted.

0 comments on commit 072f149

Please sign in to comment.