Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion app/lib/trs/client/v3/update_qts_request.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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|
Expand Down
6 changes: 3 additions & 3 deletions app/views/eligibility_interface/teach_children/new.html.erb
Original file line number Diff line number Diff line change
@@ -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?
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
4 changes: 2 additions & 2 deletions config/locales/eligibility_interface.en.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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.
4 changes: 2 additions & 2 deletions spec/lib/trs/client/v3/update_qts_request_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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: {
Expand All @@ -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: {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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: "",
Expand Down
2 changes: 1 addition & 1 deletion spec/system/eligibility_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion spec/system/eligibility_with_prioritisation_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down