diff --git a/app/lib/trs/client/v3/update_qts_request.rb b/app/lib/trs/client/v3/update_qts_request.rb index 5a5799b806..c1e3ff4f6d 100644 --- a/app/lib/trs/client/v3/update_qts_request.rb +++ b/app/lib/trs/client/v3/update_qts_request.rb @@ -11,7 +11,7 @@ def initialize(application_form:, trn:, awarded_at:) end def call - path = "/v3/persons/#{trn}/professional-statuses/#{reference}" + path = "/v3/persons/#{trn}/routes-to-professional-statuses/#{reference}" body = TRS::V3::QTSRequestParams.call(application_form:, awarded_at:) response = connection.put(path) do |req| diff --git a/app/views/eligibility_interface/teach_children/new.html.erb b/app/views/eligibility_interface/teach_children/new.html.erb index e051e84aae..864ced9489 100644 --- a/app/views/eligibility_interface/teach_children/new.html.erb +++ b/app/views/eligibility_interface/teach_children/new.html.erb @@ -1,11 +1,11 @@ <% - legend = "Are you qualified to teach children who are aged somewhere between 5 and 16 years?" + legend = "Are you qualified to teach children who are aged anywhere between 5 and 16 years?" hint = "You do not need to be qualified to teach this full age range. \ For example, you might be qualified to teach children aged 5 to 11, or 14 to 16." if @form.eligibility_check.qualified_for_subject_required? && !@eligibility_check.eligible_work_experience_in_england? - legend = "Are you qualified to teach children aged 11-16 years?" - hint = "You must be qualified to teach children aged 11-16 to be eligible for QTS." + legend = "Are you qualified to teach children who are aged anywhere between 11 and 16 years?" + hint = "You must be qualified to teach children between 11 and 16 years to be eligible for QTS." end if @form.eligibility_check.qualified_for_subject_required? && @eligibility_check.eligible_work_experience_in_england? diff --git a/app/views/eligibility_interface/work_experience_in_england/new.html.erb b/app/views/eligibility_interface/work_experience_in_england/new.html.erb index e38270419d..1167b746cf 100644 --- a/app/views/eligibility_interface/work_experience_in_england/new.html.erb +++ b/app/views/eligibility_interface/work_experience_in_england/new.html.erb @@ -23,7 +23,7 @@ <%= f.govuk_collection_radio_buttons( :eligible, [ - OpenStruct.new(label: 'Yes, I have valid experience in England', value: true), + OpenStruct.new(label: 'Yes, I have valid work experience in England', value: true), OpenStruct.new(label: 'No', value: false) ], :value, diff --git a/config/locales/eligibility_interface.en.yml b/config/locales/eligibility_interface.en.yml index 78d7708e8a..7d7aba8aa9 100644 --- a/config/locales/eligibility_interface.en.yml +++ b/config/locales/eligibility_interface.en.yml @@ -46,7 +46,7 @@ en: degree: You do not have a degree. As teaching in England is a graduate profession, you must have an undergraduate degree. misconduct: To teach in England, you must not have any findings of misconduct or restrictions on your employment record. qualification: You have not completed a formal teaching qualification in %{country_name}, for example, an undergraduate teaching degree or postgraduate teaching qualification. - teach_children: You are not qualified to teach children who are aged somewhere between 5 and 16 years. - teach_children_secondary: You are not qualified to teach children aged 11-16 years. + teach_children: You are not qualified to teach children who are aged anywhere between 5 and 16 years. + teach_children_secondary: You are not qualified to teach children aged anywhere between 11 and 16 years. qualified_for_subject: You are not qualified to teach one of the subjects for which we currently accept applications. work_experience: You do not have sufficient work experience as a teacher. diff --git a/spec/lib/trs/client/v3/update_qts_request_spec.rb b/spec/lib/trs/client/v3/update_qts_request_spec.rb index eb6a966e7c..c3d8958337 100644 --- a/spec/lib/trs/client/v3/update_qts_request_spec.rb +++ b/spec/lib/trs/client/v3/update_qts_request_spec.rb @@ -20,7 +20,7 @@ before do stub_request( :put, - "https://test-teacher-qualifications-api.education.gov.uk/v3/persons/#{trn}/professional-statuses/#{application_form.reference}", + "https://test-teacher-qualifications-api.education.gov.uk/v3/persons/#{trn}/routes-to-professional-statuses/#{application_form.reference}", ).with( body: "body", headers: { @@ -44,7 +44,7 @@ before do stub_request( :put, - "https://test-teacher-qualifications-api.education.gov.uk/v3/persons/#{trn}/professional-statuses/#{application_form.reference}", + "https://test-teacher-qualifications-api.education.gov.uk/v3/persons/#{trn}/routes-to-professional-statuses/#{application_form.reference}", ).with( body: "body", headers: { diff --git a/spec/system/assessor_interface/completing_assessment_spec.rb b/spec/system/assessor_interface/completing_assessment_spec.rb index 7e529a0725..04ee05d505 100644 --- a/spec/system/assessor_interface/completing_assessment_spec.rb +++ b/spec/system/assessor_interface/completing_assessment_spec.rb @@ -281,7 +281,7 @@ def given_i_can_request_trs_api stub_request( :put, - "https://test-teacher-qualifications-api.education.gov.uk/v3/persons/abcdef/professional-statuses/#{application_form.reference}", + "https://test-teacher-qualifications-api.education.gov.uk/v3/persons/abcdef/routes-to-professional-statuses/#{application_form.reference}", ).to_return( status: 200, body: "", diff --git a/spec/system/eligibility_spec.rb b/spec/system/eligibility_spec.rb index bf46259f1e..cab9d014e3 100644 --- a/spec/system/eligibility_spec.rb +++ b/spec/system/eligibility_spec.rb @@ -442,7 +442,7 @@ def and_i_see_the_ineligible_misconduct_text def and_i_see_the_ineligible_teach_children_text expect(eligibility_ineligible_page.reasons).to have_content( - "You are not qualified to teach children who are aged somewhere between 5 and 16 years.", + "You are not qualified to teach children who are aged anywhere between 5 and 16 years.", ) end diff --git a/spec/system/eligibility_with_prioritisation_spec.rb b/spec/system/eligibility_with_prioritisation_spec.rb index bb718dcf62..1ad3e32e73 100644 --- a/spec/system/eligibility_with_prioritisation_spec.rb +++ b/spec/system/eligibility_with_prioritisation_spec.rb @@ -371,7 +371,7 @@ def and_i_see_the_ineligible_misconduct_text def and_i_see_the_ineligible_teach_children_text expect(eligibility_ineligible_page.reasons).to have_content( - "You are not qualified to teach children who are aged somewhere between 5 and 16 years.", + "You are not qualified to teach children who are aged anywhere between 5 and 16 years.", ) end